aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-05 19:02:43 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-05 19:02:43 +0200
commitf5b5f72f7eaf14692b8036c3698037c647b2423a (patch)
treef74eb37277771fd1dceec702d1f3820fb553dc2a /Makefile
parent129c73757036a8073467a2046bc73e95918f1ca1 (diff)
downloadcerrado-f5b5f72f7eaf14692b8036c3698037c647b2423a.tar.gz
cerrado-f5b5f72f7eaf14692b8036c3698037c647b2423a.tar.bz2
cerrado-f5b5f72f7eaf14692b8036c3698037c647b2423a.zip
feat: Add qtc templating
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 *