diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,7 @@ SRCFILES:=$(shell find src/pages/ -type f -name '*.php') HTMLTARGETS:=$(SRCFILES:src/pages/%.php=build/%.html) -.PHONY: build/static publish +.PHONY: build/static publish dev-server all: $(HTMLTARGETS) $(STATICFILES) build/static @@ -22,3 +22,8 @@ publish-http: rsync -avh ./build/ hozyro-srv:/var/www/hozyro --delete publish-all: publish publish-http + +dev-server: + @bash -c 'echo -e "\e[91mWARNING: This server should only be used for \ + development purposes! IT IS NOT PRODUCTION-SAFE! USE WITH CAUTION!\e[0m"' + php -S 127.0.0.1:19310 dev-server.php |