update: convert to pug
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
default: install
|
||||
|
||||
config.pug:
|
||||
cp config-sample.pug config.pug
|
||||
|
||||
dist/css/hd-app.css: src/scss/main.scss
|
||||
npx grunt sass
|
||||
|
||||
install:
|
||||
git submodule update --init --recursive
|
||||
npm install
|
||||
|
||||
build: config.pug
|
||||
npx grunt sass
|
||||
npx pug --pretty -p index.pug < index.pug > index.html
|
||||
|
||||
serve: dist/css/hd-app.css
|
||||
php -S 127.0.0.1:8080 router.php
|
||||
|
||||
|
||||
.PHONY: default install build serve
|
Reference in New Issue
Block a user