aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index eff712c..8c71f01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@ vendor/
static/
bin/
media_cache/
+templates/*.qtpl.go
.env
*.db
diff --git a/Makefile b/Makefile
index f1c2095..bd7d016 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ GO_RUN=go run -v
all: build
-build: sass
+build: sass tmpl
$(GO_BUILD) -o $(OUT) $(SERVER)
compress: build
@@ -29,6 +29,9 @@ sass:
-I scss scss/main.scss static/main.css \
--style compressed
+tmpl:
+ qtc -dir=./templates
+
test: test.unit test.integration
test.all: gci test.unit test.integration lint