Skip to content

Commit

Permalink
Get rid of godep at build, we have vendor/
Browse files Browse the repository at this point in the history
  • Loading branch information
eparis committed May 13, 2016
1 parent a835ece commit bf4d49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mungegithub/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ READONLY ?= true

# just build the binary
mungegithub:
CGO_ENABLED=0 GOOS=linux GO15VENDOREXPERIMENT=0 godep go build -a -installsuffix cgo -ldflags '-w' -o mungegithub
GOBIN=$(PWD) CGO_ENABLED=0 GOOS=linux go install -installsuffix cgo -ldflags '-w'

test: mungegithub
CGO_ENABLED=0 GOOS=linux GO15VENDOREXPERIMENT=0 godep go test ./...
CGO_ENABLED=0 GOOS=linux go test ./...

# build the container with the binary
container: test
Expand Down
4 changes: 0 additions & 4 deletions mungegithub/mungers/stale-pending-ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ var (
// But this is our world and so we should really do this for all PRs which
// aren't likely to get another push (everything that is mergeable). Since that
// can be a lot of PRs, I'm just doing it for the LGTM PRs automatically...
//
// With minor modification this can be run easily by hand. Remove the LGTM check
// godep go build
// ./mungegithub --token-file=/PATH/TO/YOUR/TOKEN --pr-mungers=stale-pending-ci --once (--dry-run)
type StalePendingCI struct{}

func init() {
Expand Down

0 comments on commit bf4d49e

Please sign in to comment.