mirror of
https://github.com/Itsig0/pocketmovie.git
synced 2026-01-22 08:24:38 +00:00
linux build flags
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ run:
|
|||||||
build:
|
build:
|
||||||
@templ generate
|
@templ generate
|
||||||
@sqlc generate
|
@sqlc generate
|
||||||
@go build -o tmp/main cmd/api/main.go
|
@GOAMD64="v1" GOARCH="amd64" GOOS="linux" go build -ldflags="-s -w" -o tmp/main cmd/api/main.go
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
@command -v templ >/dev/null 2>&1 || { \
|
@command -v templ >/dev/null 2>&1 || { \
|
||||||
|
|||||||
Reference in New Issue
Block a user