fix: build arguments for linux
When using the Nix Package manager the built executables are dynamic and look for nix paths. My server doesn have those.
This commit is contained in:
4
Makefile
4
Makefile
@@ -12,7 +12,7 @@ build:
|
||||
@rm -rf tmp/release/tallytome
|
||||
@mkdir -p tmp/release/tallytome
|
||||
@templ generate
|
||||
@go build main.go
|
||||
@GOARCH="amd64" GOOS="linux" go build main.go
|
||||
@mv main tallytome
|
||||
@mv tallytome tmp/release/tallytome
|
||||
@cp -r public tmp/release/tallytome
|
||||
@cp -r public tmp/release/tallytome
|
||||
|
||||
Reference in New Issue
Block a user