Skip to content

Commit

Permalink
Merge pull request #14 from White-Oak/master
Browse files Browse the repository at this point in the history
added check of exit status for `new`
  • Loading branch information
ebkalderon committed Feb 12, 2016
2 parents 2407475 + ce878a0 commit 06e9b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests.sh
Expand Up @@ -8,7 +8,8 @@ function check_new() {
ln -s ./target/debug/amethyst .
./amethyst new mygame

if [ -f mygame/Cargo.toml ] &&
if [ $? -eq 0 ] &&
[ -f mygame/Cargo.toml ] &&
[ -d mygame/resources/entities/ ] &&
[ -d mygame/resources/prefabs/ ] &&
[ -f mygame/resources/config.yml ] &&
Expand Down

0 comments on commit 06e9b0b

Please sign in to comment.