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:
Itsigo committed 2024-04-12 18:09:29 +02:00
1 parent 96ec48483a
commit b0b9af408f
3 files changed
+14 -6

No files matched your search

+2 -2
View File
@@ -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