hubl/Makefile
2018-09-06 11:25:52 +02:00

22 lines
376 B
Makefile

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