Skip to content

Commit

Permalink
Improve test command a bit, add usage
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbunsch committed May 7, 2015
1 parent 7c4dfbd commit 0f6bed8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bash

if [ -z "$1" ]; then
echo "usage: test [koan name]"
exit
fi

# Setup
cd "$(dirname "$0")"
mkdir -p tmp
Expand All @@ -12,6 +17,9 @@ done
green() {
return
}
lesson_title() {
return
}

# Load all files in src
for file in src/*.sh ; do
Expand Down

0 comments on commit 0f6bed8

Please sign in to comment.