🛠 Add serve command to Makefile
This commit is contained in:
parent
009badd3dc
commit
60529f6b8f
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue