Skip to content

Commit

Permalink
Cleanup Makefile - cache shunit2 files
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jun 29, 2017
1 parent 4e93be3 commit 78787cc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,26 @@ test_unit:
go test `glide novendor`
#go run tests/tendermint/*.go

test_cli: get_shunit2
test_cli: tests/cli/shunit2
# sudo apt-get install jq
@./tests/cli/basictx.sh
@./tests/cli/counter.sh
@./tests/cli/restart.sh
@./tests/cli/ibc.sh

test_tutorial:
test_tutorial: docs/guide/shunit2
shelldown ${TUTORIALS}
for script in docs/guide/*.sh ; do \
bash $$script ; \
done

get_shunit2:
tests/cli/shunit2:
wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2" \
-q -O tests/cli/shunit2
cp tests/cli/shunit2 docs/guide/shunit2

docs/guide/shunit2:
wget "https://raw.githubusercontent.com/kward/shunit2/master/source/2.1/src/shunit2" \
-q -O docs/guide/shunit2

get_vendor_deps: tools
glide install
Expand Down

0 comments on commit 78787cc

Please sign in to comment.