mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
misc fixes set all nodes to error fix: check return value after cat License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
42 lines
876 B
Makefile
42 lines
876 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 ./...
|
|
|
|
install:
|
|
cd cmd/ipfs && go install
|
|
|
|
test: test_go test_sharness
|
|
|
|
test_expensive: test_go_expensive test_sharness_expensive
|
|
|
|
test_docker:
|
|
cd ./src/github.com/jbenet/go-ipfs
|
|
docker build -t zaqwsx_ipfs-test-img .
|
|
cd dockertest/ && make
|
|
|
|
test_go:
|
|
go test -test.short ./...
|
|
|
|
test_go_expensive:
|
|
go test ./...
|
|
|
|
test_sharness:
|
|
cd test/ && make
|
|
|
|
test_sharness_expensive:
|
|
cd test/ && make TEST_EXPENSIVE=1
|
|
|
|
test_all_commits:
|
|
@echo "testing all commits between origin/master..HEAD"
|
|
@echo "WARNING: this will 'git rebase --exec'."
|
|
@test/bin/continueyn
|
|
GIT_EDITOR=true git rebase -i --exec "make test" origin/master
|