Skip to content

Commit

Permalink
updated: build script to reduce build size
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijitWakchaure committed Dec 16, 2019
1 parent cbd308b commit b249a6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
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

0 comments on commit b249a6c

Please sign in to comment.