forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve experience for on-boarding new developers
- Loading branch information
Showing
6 changed files
with
47 additions
and
18 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 |
---|---|---|
|
@@ -2,5 +2,4 @@ language: go | |
go: | ||
- 1.6 | ||
- 1.7 | ||
install: make deps | ||
after_success: make perf-regression |
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
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
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
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,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
if [ -z "$GOPATH" ]; then | ||
echo '$GOPATH environment variable not set. Have you installed Go?' | ||
exit 1 | ||
fi | ||
|
||
which pigeon >/dev/null || { | ||
echo "Installing pigeon from vendor" | ||
go install ./vendor/github.com/PuerkitoBio/pigeon | ||
} | ||
|
||
|
||
which goimports >/dev/null || { | ||
echo "Installing goimports from vendor" | ||
go install ./vendor/golang.org/x/tools/cmd/goimports | ||
} | ||
|
||
which golint >/dev/null || { | ||
echo "Installing golint from vendor" | ||
go install ./vendor/github.com/golang/lint/golint | ||
} |
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