aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c947b68..38db3a9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,19 @@
-build: sass
+.ONESHELL:
+
+build: sass tmpl
go build -o bin/cerrado
-run: sass
+run: sass tmpl
go run .
test:
go test -v --tags=unit ./...
sass:
+ @make -p static
sassc \
- -I scss scss/main.scss bin/main.css
+ -I scss scss/main.scss static/main.css
+
+tmpl:
+ cd ./templates
+ qtc *