@cryptotaxi247 / kubo / commits / 5ae31f4a2

make: readd the path check functionality

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Mar 15, 2017 at 13:12 UTC 5ae31f4a2ae28ecc3d9b7378cbadb2eacd63df25
2 files changed +7
mk/golang.mk
+5
@@ -46,5 +46,10 @@ check_go_version:
46 .PHONY: check_go_version
47 DEPS_GO += check_go_version
48
49 +check_go_path:
50 + bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst $(PATH_SEP),$(space),$(GOPATH))))
51 +.PHONY: check_go_path
52 +DEPS_GO += check_go_path
53 +
54 TEST += $(TEST_GO)
55 TEST_SHORT += test_go_fmt test_go_short
mk/util.mk
+2
@@ -2,8 +2,10 @@
2 ifeq ($(OS),Windows_NT)
3 WINDOWS :=1
4 ?exe :=.exe # windows compat
5 + PATH_SEP :=;
6 else
7 ?exe :=
8 + PATH_SEP :=:
9 endif
10
11 space:=