-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from cristiklein/popper-init-folder
Popper init folder
- Loading branch information
Showing
2 changed files
with
26 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
if [ -z "`which docker`" ]; then | ||
echo "Could not find docker." >&2 | ||
echo "Please use the following script to install it: https://get.docker.com/." >&2 | ||
exit 1 | ||
fi | ||
|
||
docker run --rm -v `pwd`/popper:/app -w /app treeder/go vendor | ||
docker run --rm -v `pwd`/popper:/app -w /app treeder/go build | ||
|
||
echo "Success. Popper is available at 'popper/app'." | ||
echo "Note that the executable requires libc-musl: https://www.musl-libc.org/." |
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