kubo/Makefile

28 lines
549 B
Makefile

all:
# no-op
godep:
go get github.com/tools/godep
# saves/vendors third-party dependencies to Godeps/_workspace
# -r flag rewrites import paths to use the vendored path
# ./... performs operation on all packages in tree
vendor: godep
godep save -r ./...
# TODO revert to `install` once new command refactoring is complete
install_1:
cd cmd/ipfs && go install
# TODO remove once new command refactoring is complete
install_2:
cd cmd/ipfs2 && go install
test: test_go test_sharness
test_go:
go test ./...
test_sharness:
cd test/ && make