Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
reorganized task file
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed May 11, 2017
1 parent 18dff76 commit 1554c7b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .tasks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
tests:
summary: Run the test suite
command: go test {{.files}}
autoplay-tests:
summary: Replaying interactive tests
command: |-
cd tests
set -e
for test in autoplay/*.go; do
echo "==> Running $test"
go run $test
done
install-deps:
summary: Install all of package dependencies
Expand All @@ -9,15 +15,9 @@ install-deps:
# for autoplay tests
go get github.com/kr/pty
tests:
summary: Run the test suite
command: go test {{.files}}

variables:
files: '$(go list -v ./... | grep -iEv "github.com/AlecAivazis/survey/(tests|examples)")'

autoplay-tests:
summary: Replaying interactive tests
command: |-
cd tests
set -e
for test in autoplay/*.go; do
echo "==> Running $test"
go run $test
done

0 comments on commit 1554c7b

Please sign in to comment.