Skip to content

Commit

Permalink
Couple more clean assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Naaman Newbold committed Dec 10, 2013
1 parent 08690dc commit c070a84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SBT_TASKS="compile stage"
# $ heroku labs:enable user-env-compile
# $ heroku config:set SBT_CLEAN=true
# $ git push heroku master
[ "$SBT_CLEAN" == "true" ] && SBT_TASKS="clean $SBT_TASKS"
[ "$SBT_CLEAN" = "true" ] && SBT_TASKS="clean $SBT_TASKS"

if [ ! -d .ivy2/cache ]; then
mkdir -p .ivy2/cache
Expand Down
2 changes: 2 additions & 0 deletions test/compile_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ testCompile()

assertCapturedSuccess
assertNotCaptured "SBT should not be re-installed on re-run" "Building app with sbt"
assertNotCaptured "SBT should not compile any new classes" "[info] Compiling"
assertNotCaptured "SBT should not resolve any dependencies" "[info] Resolving"
assertCaptured "SBT tasks to run should still be outputed" "Running: sbt compile stage"
}

Expand Down

0 comments on commit c070a84

Please sign in to comment.