lens @ 21a7c204d216ec1a7615156b7c8b85ee2d964b81

feat: Add template generating to make file

Add template generating code to `make` process.
 1diff --git a/.gitignore b/.gitignore
 2index eff712c758daabaa7a6949a31353757063409a7f..8c71f011f1739d776207da84cad9867627fbdf79 100644
 3--- a/.gitignore
 4+++ b/.gitignore
 5@@ -2,6 +2,7 @@ vendor/
 6 static/
 7 bin/
 8 media_cache/
 9+templates/*.qtpl.go
10 
11 .env
12 *.db
13diff --git a/Makefile b/Makefile
14index f1c2095dd81cc0b1c7fbd2d258fb56129635f3e9..bd7d016ebd52fe2cb834d19008208934681bd059 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -8,7 +8,7 @@ GO_RUN=go run -v
18 
19 all: build
20 
21-build: sass
22+build: sass tmpl
23 	$(GO_BUILD) -o $(OUT) $(SERVER)
24 
25 compress: build
26@@ -28,6 +28,9 @@ 	@mkdir -p static
27 	sassc \
28 		-I scss scss/main.scss static/main.css \
29 		--style compressed
30+
31+tmpl:
32+	qtc -dir=./templates
33 
34 test: test.unit test.integration
35