Skip to content

Commit

Permalink
Merge pull request #9 from homeport/remove-windows-build
Browse files Browse the repository at this point in the history
Remove windows build
  • Loading branch information
HeavyWombat authored May 24, 2019
2 parents 59c1b4e + 3501e2a commit 43d4b17
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ binaries/ytbx-darwin-amd64: $(sources)
-o binaries/ytbx-darwin-amd64 \
cmd/ytbx/main.go

binaries/ytbx-windows-amd64.exe: $(sources)
@GO111MODULE=on CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build \
-tags netgo \
-ldflags='-s -w -extldflags "-static" -X github.com/homeport/ytbx/internal/cmd.version=$(version)' \
-o binaries/ytbx-windows-amd64.exe \
cmd/ytbx/main.go

build: binaries/ytbx-linux-amd64 binaries/ytbx-darwin-amd64 binaries/ytbx-windows-amd64.exe
build: binaries/ytbx-linux-amd64 binaries/ytbx-darwin-amd64
@/bin/sh -c "echo '\n\033[1mSHA sum of compiled binaries:\033[0m'"
@shasum -a256 binaries/ytbx-linux-amd64 binaries/ytbx-darwin-amd64 binaries/ytbx-windows-amd64.exe
@shasum -a256 binaries/ytbx-linux-amd64 binaries/ytbx-darwin-amd64

0 comments on commit 43d4b17

Please sign in to comment.