-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated: build script to reduce build size
- Loading branch information
1 parent
cbd308b
commit b249a6c
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
echo "### Building for platform: linux/amd64" | ||
env GOOS=linux GOARCH=amd64 go build -o dist/run-flogo-app-linux-amd64 | ||
env GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o dist/run-flogo-app-linux-amd64 | ||
echo "### Building for platform: windows/amd64" | ||
env GOOS=windows GOARCH=amd64 go build -o dist/run-flogo-app-windows-amd64.exe | ||
env GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o dist/run-flogo-app-windows-amd64.exe | ||
echo "### Building for platform: darwin/amd64" | ||
env GOOS=darwin GOARCH=amd64 go build -o dist/run-flogo-app-darwin-amd64 | ||
env GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o dist/run-flogo-app-darwin-amd64 |