update: convert to pug

This commit is contained in:
Clément
2018-09-06 11:25:52 +02:00
parent a7d8a91457
commit facbd376bc
55 changed files with 410 additions and 478 deletions

21
Makefile Normal file
View 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