style nav
This commit is contained in:
12
Makefile
12
Makefile
@ -12,13 +12,14 @@ install: node_modules
|
||||
dist/css/hd-app.css: $(wildcard src/scss/*.scss)
|
||||
npx node-sass src/scss/main.scss dist/css/hd-app.css --source-map true
|
||||
|
||||
index.html: config.pug index.pug $(wildcard src/html/*.pug)
|
||||
index.html: config.pug index.pug $(wildcard src/pug/*.pug)
|
||||
npx pug --pretty index.pug
|
||||
|
||||
build: index.html dist/css/hd-app.css
|
||||
|
||||
build-prod: index.html
|
||||
npx node-sass src/scss/main.scss dist/css/hd-app.css --output-style compressed
|
||||
prod:
|
||||
npx pug index.pug
|
||||
npx node-sass src/scss/main.scss dist/css/hd-app.css --output-style compressed
|
||||
|
||||
watch:
|
||||
@echo 'watching for change'
|
||||
@ -31,5 +32,10 @@ watch:
|
||||
serve: dist/css/hd-app.css
|
||||
php -S 127.0.0.1:8080 router.php
|
||||
|
||||
dev-mt: serve watch
|
||||
|
||||
dev:
|
||||
make dev-mt -j --silent
|
||||
|
||||
|
||||
.PHONY: default install build build-prod watch serve
|
||||
|
Reference in New Issue
Block a user