diff options
author | emkael <emkael@tlen.pl> | 2016-10-11 14:01:29 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-10-11 14:01:29 +0200 |
commit | 51609351f2c4b5082b7e6f0744cd3811c325303f (patch) | |
tree | 739015e9ec69bc185ebe30db21369ae0b8b692ce /Makefile | |
parent | 8d1b0dad63e3906efa9393ef01d08b77d83417b5 (diff) |
* initial template
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c033d00 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +all: build + +build: + find caches -type f -delete + /srv/websites/_scripts/static-site.php + +test: devel build + rm http + ln -s static http + +devel: + rm http + ln -s src http + +clean: devel + rm -rf static + +deploy: build + git --git-dir=/srv/websites/github.emkael.info/static commit -a -m "$m" + git --git-dir=/srv/websites/github.emkael.info/static push +# rsync --delete -urPz static/ root@jaom.pl:/var/www/festiwal.brydzystow.pl/web +# ssh root@jaom.pl 'chown web54:client1 /var/www/festiwal.brydzystow.pl/web -R' +# rsync 3.1.0+ only: +# rsync --delete -urPz --chown=web54:client1 static/ root@jaom.pl:/var/www/festiwal.brydzystow.pl/web |