Skip to content

Commit

Permalink
add check to makefile to ensure windows builds dont fail silently
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
  • Loading branch information
whyrusleeping committed Oct 28, 2015
1 parent 4405987 commit 8d63402
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ nofuse:
##############################################################
# tests targets

test: test_expensive
test: test_expensive windows_build_check

test_short: build test_go_short test_sharness_short

Expand Down Expand Up @@ -71,3 +71,8 @@ test_all_commits_travis:
git config --global user.name "IPFS BOT"
git fetch origin master:master
GIT_EDITOR=true git rebase -i --exec "make test" master

# since we have CI for osx and linux but not windows, this should help
windows_build_check:
GOOS=windows GOARCH=amd64 go build -o .test.ipfs.exe -tags=nofuse ./cmd/ipfs
rm .test.ipfs.exe

0 comments on commit 8d63402

Please sign in to comment.