add trimpath

This commit is contained in:
kaedwen committed 2024-03-03 12:42:40 +01:00
1 parent 6887efd093
commit 2a70fd9331
2 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
build:
CGO_ENABLED=1 go build -mod=vendor -tags=embed -o service main.go
CGO_ENABLED=1 go build -mod=vendor -tags=embed -ldflags "-s -w" -trimpath -o service main.go
build-static:
npm --prefix static ci && npm --prefix static run build