lens @ 21a7c204d216ec1a7615156b7c8b85ee2d964b81

feat: Add template generating to make file

Add template generating code to `make` process.
diff --git a/.gitignore b/.gitignore
index eff712c758daabaa7a6949a31353757063409a7f..8c71f011f1739d776207da84cad9867627fbdf79 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 f1c2095dd81cc0b1c7fbd2d258fb56129635f3e9..bd7d016ebd52fe2cb834d19008208934681bd059 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
@@ -28,6 +28,9 @@ 	@mkdir -p static
 	sassc \
 		-I scss scss/main.scss static/main.css \
 		--style compressed
+
+tmpl:
+	qtc -dir=./templates
 
 test: test.unit test.integration