Skip to content

Commit 8d63402

Browse files
committed
add check to makefile to ensure windows builds dont fail silently
License: MIT Signed-off-by: Jeromy <[email protected]>
1 parent 4405987 commit 8d63402

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ nofuse:
3434
##############################################################
3535
# tests targets
3636

37-
test: test_expensive
37+
test: test_expensive windows_build_check
3838

3939
test_short: build test_go_short test_sharness_short
4040

@@ -71,3 +71,8 @@ test_all_commits_travis:
7171
git config --global user.name "IPFS BOT"
7272
git fetch origin master:master
7373
GIT_EDITOR=true git rebase -i --exec "make test" master
74+
75+
# since we have CI for osx and linux but not windows, this should help
76+
windows_build_check:
77+
GOOS=windows GOARCH=amd64 go build -o .test.ipfs.exe -tags=nofuse ./cmd/ipfs
78+
rm .test.ipfs.exe

0 commit comments

Comments
 (0)