From 355b4fbeec7096c51b957280d64130a9b3d9a47e Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 21 Oct 2018 15:39:38 -0400 Subject: [PATCH] Add recipe for populating svn repo --- .gitignore | 1 + Makefile | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) 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