mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-09 18:28:08 +08:00
Fix Makefile on Windows
License: MIT Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
This commit is contained in:
parent
dbc1d3f2d3
commit
228c4db6d7
7
Makefile
7
Makefile
@ -9,6 +9,11 @@ else
|
||||
go_test=IPFS_REUSEPORT=false go test
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
GOPATH_DELIMITER = ;
|
||||
else
|
||||
GOPATH_DELIMITER = :
|
||||
endif
|
||||
|
||||
dist_root=/ipfs/QmXZQzBAFuoELw3NtjQZHkWSdA332PyQUj6pQjuhEukvg8
|
||||
gx_bin=bin/gx-v0.7.0
|
||||
@ -41,7 +46,7 @@ bin/gx-go-v%:
|
||||
gx_check: ${gx_bin} ${gx-go_bin}
|
||||
|
||||
path_check:
|
||||
@bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst :, ,$(GOPATH))))
|
||||
@bin/check_go_path $(realpath $(shell pwd)) $(realpath $(addsuffix /src/github.com/ipfs/go-ipfs,$(subst $(GOPATH_DELIMITER), ,$(GOPATH))))
|
||||
|
||||
deps: go_check gx_check path_check
|
||||
${gx_bin} --verbose install --global
|
||||
|
||||
Loading…
Reference in New Issue
Block a user