提交 6efa429a 作者: Jeromy Johnson 提交者: GitHub

Merge pull request #3787 from ipfs/fix/make/check-path

make: readd the path check functionality
...@@ -46,5 +46,10 @@ check_go_version: ...@@ -46,5 +46,10 @@ check_go_version:
.PHONY: check_go_version .PHONY: check_go_version
DEPS_GO += check_go_version DEPS_GO += check_go_version
check_go_path:
bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst $(PATH_SEP),$(space),$(GOPATH))))
.PHONY: check_go_path
DEPS_GO += check_go_path
TEST += $(TEST_GO) TEST += $(TEST_GO)
TEST_SHORT += test_go_fmt test_go_short TEST_SHORT += test_go_fmt test_go_short
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
WINDOWS :=1 WINDOWS :=1
?exe :=.exe # windows compat ?exe :=.exe # windows compat
PATH_SEP :=;
else else
?exe := ?exe :=
PATH_SEP :=:
endif endif
space:= space:=
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论