Skip to content

Commit

Permalink
build target
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsatish committed Jul 24, 2022
1 parent ac1642f commit 6006253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/release.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ test:

build-dev: vet fmt test
CGO_ENABLED=0 go build -ldflags "-X main.version=dev" -a -o ./bin/jxv

build: vet fmt test
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.version=${VERSION}" -a -o ./bin/jxv
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-X main.version=${VERSION}" -a -o ./bin/jxv.exe

0 comments on commit 6006253

Please sign in to comment.