Skip to content

Commit

Permalink
Update PATH for golint correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Schultz <[email protected]>
  • Loading branch information
Kiemes authored and tylerschultz committed May 4, 2016
1 parent 8c7d70d commit b624815
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion bin/env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ base=$( cd "$( dirname "$( dirname "$0" )")" && pwd )
base_gopath=$( cd $base/../../../.. && pwd )

export GOPATH=$base_gopath
export GOBIN=$base_gopath/gobin
export GOBIN=$base_gopath/gobin:$base_gopath/bin
export PATH=$PATH:$GOBIN
export GO15VENDOREXPERIMENT=1

Expand Down
4 changes: 0 additions & 4 deletions bin/golint
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
#!/bin/bash

set -e

bin=$(dirname $0)

go get -u github.com/golang/lint/golint

PATH=$bin/../../../../../bin:$PATH

errors=$(
$bin/gofiles $bin/env golint \
| grep -v 'should have comment.* or be unexported' \
Expand Down

0 comments on commit b624815

Please sign in to comment.