Skip to content

Commit

Permalink
Makefile: set GOROOT before invoking swagger generate
Browse files Browse the repository at this point in the history
Something is going on with go 1.9rc1, this should fix the build.
  • Loading branch information
Francisco Souza committed Jul 25, 2017
1 parent a2b5a70 commit c51998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ run: build

swagger:
go get github.com/go-swagger/go-swagger/cmd/swagger
swagger generate spec -o swagger.json
GOROOT=$$(go env GOROOT) swagger generate spec -o swagger.json

checkswagger:
swagger validate swagger.json
Expand Down

0 comments on commit c51998f

Please sign in to comment.