Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ full-static:
# should be kept in sync with the windows build in the BuildViamServer helper in testutils/file_utils.go
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The referenced method seems not relevant for this change.

windows:
mkdir -p bin/windows
GOOS=windows go build -tags no_cgo $(GCFLAGS) -ldflags="-extldflags=-static $(COMMON_LDFLAGS)" -o bin/windows/viam-server-$(shell go env GOARCH).exe ./web/cmd/server
cd bin/windows && zip viam.zip viam-server-$(shell go env GOARCH).exe
GOOS=windows GOARCH=amd64 go build -tags no_cgo $(GCFLAGS) -ldflags="-extldflags=-static $(COMMON_LDFLAGS)" -o bin/windows/viam-server-amd64.exe ./web/cmd/server
cd bin/windows && zip viam.zip viam-server-amd64.exe

server-static-compressed: server-static
upx --best --lzma $(BIN_OUTPUT_PATH)/viam-server
Expand Down
Loading