Skip to content

Commit

Permalink
Merge pull request #68 from craig-willis/NDS-354
Browse files Browse the repository at this point in the history
Added godeps support
  • Loading branch information
craig-willis authored Jul 1, 2016
2 parents 458d754 + 75238f8 commit 8bb67c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions apictl/Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apictl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [ "$1" = "build" ] || [ -z $1 ]; then
echo ")" >> $VERSIONFILE
rm -f build/bin/$APP-linux-amd64 build/$APP-darwin-amd64
mkdir -p build/bin build/bin build/pkg
go get
echo Building Darwin
GOOS=darwin GOARCH=amd64 go build -o build/bin/$APP-darwin-amd64
echo Building Linux
Expand Down
3 changes: 1 addition & 2 deletions apiserver/Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion apiserver/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if [ "$1" = "build" ] || [ -z $1 ]; then
rm -f build/bin/$APP-linux-amd64 build/$APP-darwin-amd64
mkdir -p build/bin build/bin build/pkg
echo Building Darwin
GOOS=darwin GOARCH=amd64 go build -o build/bin/$APP-darwin-amd64
godep restore
GOOS=darwin GOARCH=amd64 godep go build -o build/bin/$APP-darwin-amd64
echo Building Linux
docker run --rm -it -v `pwd`:/go/src/github.com/ndslabs/apiserver -v `pwd`/build/bin:/go/bin -v `pwd`/build/pkg:/go/pkg -v `pwd`/gobuild.sh:/gobuild.sh golang:1.5 /gobuild.sh

Expand Down

0 comments on commit 8bb67c8

Please sign in to comment.