+ build command for makefile

This commit is contained in:
itsig0 committed 2024-03-24 18:30:43 +01:00
1 parent 5e50435309
commit 1da3051c3d
6 files changed
+60 -51

No files matched your search

+10 -1
View File
@@ -6,4 +6,13 @@ templ:
@templ generate -watch -proxy=http://localhost:3000
sass:
@sass --no-source-map --watch view/stylesheets/tallytome.scss public/tallytome.css
@sass --no-source-map --watch view/stylesheets/tallytome.scss public/tallytome.css
build:
@rm -rf tmp/release/tallytome
@mkdir -p tmp/release/tallytome
@templ generate
@go build main.go
@mv main tallytome
@mv tallytome tmp/release/tallytome
@cp -r public tmp/release/tallytome