We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4850fda commit 86f1920Copy full SHA for 86f1920
docs/maintainer/example_recipes/go.md
@@ -24,8 +24,8 @@ build:
24
- cd src
25
- go-licenses save . --save_path ../library_licenses
26
- if: unix
27
- then: go build -v -o $PREFIX/bin/example-package
28
- else: go build -v -o %LIBRARY_BIN%\example-package.exe
+ then: go build -v -o $PREFIX/bin/example-package -ldflags="-s -w"
+ else: go build -v -o %LIBRARY_BIN%\example-package.exe -ldflags="-s"
29
30
requirements:
31
build:
0 commit comments