Skip to content

Commit

Permalink
Improve example bin/test speed
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Apr 26, 2018
1 parent 9e2bd9c commit 75abcfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/support/apps/example/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

mix deps.get || { echo 'Dependencies could not be fetched!'; exit 1; }
MIX_ENV=test mix ecto.drop || { echo 'Database could not be dropped'; exit 1; }
mix torch.install || { echo 'Torch could not be installed!'; exit 1; }
mix torch.gen.html Blog Post posts title:string || { echo 'Torch files not generated!'; exit 1; }
MIX_ENV=test mix torch.install || { echo 'Torch could not be installed!'; exit 1; }
MIX_ENV=test mix torch.gen.html Blog Post posts title:string || { echo 'Torch files not generated!'; exit 1; }
cp ../../routers/modified.ex lib/example_web/router.ex
mix test || { echo 'Tests failed!'; exit 1; }

Expand Down

0 comments on commit 75abcfd

Please sign in to comment.