This commit is contained in:
henry.chen
2025-07-17 15:30:30 +08:00
parent e5100fa018
commit f4c70b46c1
3 changed files with 5 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env sh
go build -tags prod -ldflags '-extldflags "-static"' -o bin/backend "./cmd/$1"
go build -tags prod -ldflags '-extldflags "-static"' -o "./cmd/$1/backend" "./cmd/$1"