+ build command for makefile

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

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