Add recipe for populating svn repo

This commit is contained in:
Jeremy Dormitzer 2018-10-21 15:39:38 -04:00
parent bafb451210
commit 355b4fbeec
2 changed files with 11 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/vendor
/log
dist/
svn/

View File

@ -1,5 +1,12 @@
dist/pterotype.zip: clean
composer install && mkdir -p dist && zip -r dist/pterotype.zip . -x \.git/\* dist/\* log/\*
dist/pterotype.zip: vendor clean_zip
mkdir -p dist && zip -r dist/pterotype.zip . -x \.git/\* dist/\* log/\* svn/\*
clean:
clean_zip:
rm -f dist/pterotype.zip
svn: README.txt assets composer.json composer.lock includes pterotype.php vendor
rsync -av assets svn
rsync -av README.txt composer.json composer.lock includes pterotype.php vendor svn/trunk
vendor:
composer install