Skip to content

Commit

Permalink
Remove windows build
Browse files Browse the repository at this point in the history
Remove building a windows binary.
  • Loading branch information
HeavyWombat authored May 24, 2019
1 parent 59c1b4e commit 3501e2a
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 3501e2a

Please sign in to comment.