Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Add all deps, simplify build/test
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinmm80 committed Mar 1, 2016
1 parent a96e9d5 commit 7a65085
Show file tree
Hide file tree
Showing 144 changed files with 13,509 additions and 11 deletions.
22 changes: 22 additions & 0 deletions Godeps/Godeps.json

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

5 changes: 2 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ rm -rf pkg

docker run --rm \
-v "$PWD":$WORKDIR \
-e "GOPATH=$WORKDIR/Godeps/_workspace:/go" \
-w $WORKDIR \
golang:1.5.3 \
./compile.sh
golang:1.6 \
./compile.sh $APP
6 changes: 4 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

APP=$1

for GOOS in darwin linux windows; do
for GOARCH in amd64; do
GOOS=$GOOS GOARCH=$GOARCH go build -v -o pkg/$GOOS-$GOARCH/summon
GOOS=$GOOS GOARCH=$GOARCH go build -v -o pkg/$GOOS-$GOARCH/$APP
done
done
done
10 changes: 4 additions & 6 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#!/bin/bash

APP="summon"
WORKDIR="/go/src/github.com/conjurinc/${APP}"
WORKDIR="/go/src/github.com/conjurinc/${APP}/"

docker run --rm \
docker run --rm -it \
-v "$PWD":$WORKDIR \
-e "GOPATH=$WORKDIR/Godeps/_workspace:/go" \
-w $WORKDIR \
golang:1.5.3 \
bash -ceo pipefail "export PATH=$WORKDIR/Godeps/_workspace/bin:\$PATH && \
go get -u github.com/jstemmer/go-junit-report && \
golang:1.6 \
bash -ceo pipefail "go get -u github.com/jstemmer/go-junit-report && \
go test -v ./... | tee test.tmp \
&& cat test.tmp | go-junit-report > junit.xml && rm test.tmp"
18 changes: 18 additions & 0 deletions vendor/github.com/jtolds/gls/LICENSE

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

89 changes: 89 additions & 0 deletions vendor/github.com/jtolds/gls/README.md

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

150 changes: 150 additions & 0 deletions vendor/github.com/jtolds/gls/context.go

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

13 changes: 13 additions & 0 deletions vendor/github.com/jtolds/gls/gen_sym.go

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

34 changes: 34 additions & 0 deletions vendor/github.com/jtolds/gls/id_pool.go

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

Loading

0 comments on commit 7a65085

Please sign in to comment.