Skip to content

Commit

Permalink
roshi-server, roshi-walker: allow env-settable 'go' command
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Mar 29, 2014
1 parent 1e7325f commit 7c3a3bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions roshi-server/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
GO ?= go
GOPATH := $(CURDIR)/../_vendor:$(GOPATH)

all: build

build:
go build
$(GO) build

clean:
go clean
$(GO) clean

check:
@go list -f '{{join .Deps "\n"}}' | xargs go list -f '{{if not .Standard}}{{.ImportPath}} {{.Dir}}{{end}}' | column -t
@$(GO) list -f '{{join .Deps "\n"}}' | xargs $(GO) list -f '{{if not .Standard}}{{.ImportPath}} {{.Dir}}{{end}}' | column -t
7 changes: 4 additions & 3 deletions roshi-walker/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
GO ?= go
GOPATH := $(CURDIR)/../_vendor:$(GOPATH)

all: build

build:
go build
$(GO) build

clean:
go clean
$(GO) clean

check:
@go list -f '{{join .Deps "\n"}}' | xargs go list -f '{{if not .Standard}}{{.ImportPath}} {{.Dir}}{{end}}' | column -t
@$(GO) list -f '{{join .Deps "\n"}}' | xargs $(GO) list -f '{{if not .Standard}}{{.ImportPath}} {{.Dir}}{{end}}' | column -t

0 comments on commit 7c3a3bd

Please sign in to comment.