Skip to content

Commit

Permalink
build: do not rely on GOPATH env
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Apr 12, 2020
1 parent e2a6c31 commit 67e3f45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ui:
cd web/ui && npm i && npm run build

regen: tools ui
PATH="$(PATH):$(GOPATH)/bin" go generate web/routes.go
PATH="$(PATH):$(GOPATH)/bin" go generate web/internal/*.go
PATH="$(PATH):$(GOPATH)/bin" go generate network/event_types.go
PATH="$(PATH):$(shell go env GOPATH)/bin" go generate web/routes.go
PATH="$(PATH):$(shell go env GOPATH)/bin" go generate web/internal/*.go
PATH="$(PATH):$(shell go env GOPATH)/bin" go generate network/event_types.go

backend: regen
go build -o tinc-web-boot -v ./cmd/tinc-web-boot/main.go
Expand Down

0 comments on commit 67e3f45

Please sign in to comment.