+ build command for makefile
This commit is contained in:
11
Makefile
11
Makefile
@@ -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
|
||||
Reference in New Issue
Block a user