Skip to content

Commit

Permalink
Fix unsetting GOOS and GOARCH for go run.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Apr 26, 2017
1 parent 4cf51cc commit d19c963
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ internal/statics internal/migrations: static/swagger/api.swagger.json
@go generate cmd/lora-app-server/main.go


unexport GOOS GOARCH
static/swagger/api.swagger.json:
@echo "Generating combined Swagger JSON"
@go run api/swagger/main.go api/swagger > static/swagger/api.swagger.json
@GOOS="" GOARCH="" go run api/swagger/main.go api/swagger > static/swagger/api.swagger.json


# shortcuts for development
Expand Down

0 comments on commit d19c963

Please sign in to comment.