🛠 Add serve command to Makefile

This commit is contained in:
Dan Jones 2023-03-06 22:01:50 -06:00
commit 60529f6b8f

View file

@ -11,6 +11,10 @@ all: build/index.html build/style.css
clean: clean:
rm -v build/index.html build/style.css* rm -v build/index.html build/style.css*
.PHONY: serve
serve: all
php -S 0.0.0.0:7654 -t build
build/index.html: index.html config.toml compile.js build/index.html: index.html config.toml compile.js
node compile.js $(compile_opts) node compile.js $(compile_opts)