@cryptotaxi247 / kubo / commits / 228c4db6d

Fix Makefile on Windows

License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>

Dominic Della Valle committed Jul 16, 2016 at 18:22 UTC 228c4db6d7cea6bc323c0a0d18f88d3ed0fd7fda
1 file changed +6 -1
Makefile
+6 -1
@@ -9,6 +9,11 @@ else
9 go_test=IPFS_REUSEPORT=false go test
10 endif
11
12 +ifeq ($(OS),Windows_NT)
13 + GOPATH_DELIMITER = ;
14 +else
15 + GOPATH_DELIMITER = :
16 +endif
17
18 dist_root=/ipfs/QmXZQzBAFuoELw3NtjQZHkWSdA332PyQUj6pQjuhEukvg8
19 gx_bin=bin/gx-v0.7.0
@@ -41,7 +46,7 @@ bin/gx-go-v%:
46 gx_check: ${gx_bin} ${gx-go_bin}
47
48 path_check:
44 - @bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst :, ,$(GOPATH))))
49 + @bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst $(GOPATH_DELIMITER), ,$(GOPATH))))
50
51 deps: go_check gx_check path_check
52 ${gx_bin} --verbose install --global