Created
September 29, 2018 06:43
-
-
Save ipv4sec/ae18edac752a9de79de2f0813f4a4592 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/env bash | |
| BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| ROOT_DIR="$(dirname "$BIN_DIR")" | |
| cd $BIN_DIR | |
| rm -f social-contact-feed-go | |
| CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o social-contact-feed-go-linux ../main/main.go | |
| go build -o social-contact-feed-go-mac ../main/main.go | |
| cd $ROOT_DIR | |
| ./bin/social-contact-feed-go-mac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment