diff --git a/.gitignore b/.gitignore index f65a357..4c5c85f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vendor /log dist/ +svn/ diff --git a/Makefile b/Makefile index c0948f0..e164ce4 100644 --- a/Makefile +++ b/Makefile @@ -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