Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit d19c963

Browse files
committed
Fix unsetting GOOS and GOARCH for go run.
1 parent 4cf51cc commit d19c963

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ internal/statics internal/migrations: static/swagger/api.swagger.json
4747
@go generate cmd/lora-app-server/main.go
4848

4949

50-
unexport GOOS GOARCH
5150
static/swagger/api.swagger.json:
5251
@echo "Generating combined Swagger JSON"
53-
@go run api/swagger/main.go api/swagger > static/swagger/api.swagger.json
52+
@GOOS="" GOARCH="" go run api/swagger/main.go api/swagger > static/swagger/api.swagger.json
5453

5554

5655
# shortcuts for development

0 commit comments

Comments
 (0)