tutorial auto-testing, basecoin basics

This commit is contained in:
rigel rozanski
2017-06-29 05:47:38 -04:00
parent 44e9ecce43
commit e521f3769e
2 changed files with 93 additions and 40 deletions
+10 -1
View File
@@ -1,5 +1,7 @@
GOTOOLS = github.com/mitchellh/gox \
github.com/Masterminds/glide
github.com/Masterminds/glide \
github.com/rigelrozanski/shelldown/cmd/shelldown
TUTORIALS=$(shell find docs/guide -name "*md" -type f)
all: get_vendor_deps install test
@@ -27,6 +29,13 @@ test_cli: tests/cli/shunit2
@./tests/cli/restart.sh
@./tests/cli/ibc.sh
test_tutorial:
shelldown ${TUTORIALS}
for script in ${TUTORIALS} ; do \
echo "\n\n\nRunning test for script: $$script.sh" ; \
bash $$script.sh ; \
done
get_vendor_deps: tools
glide install