Skip to content

Commit

Permalink
Using compile instead of capture
Browse files Browse the repository at this point in the history
  • Loading branch information
Naaman Newbold committed Jan 21, 2012
1 parent 8fda4d7 commit b087303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/compile_test.sh
Expand Up @@ -59,7 +59,7 @@ testCacheUnpacksIntoBuildDirAndPacksBackIntoCache() {
assertTrue "Precondition: A play file should have been added to the cache dir" "[ -f ${CACHE_DIR}/.play/test-cached ]"
assertTrue "Precondition: An ivy file should have been added to the cache dir" "[ -f ${CACHE_DIR}/.ivy2/test-cached ]"

capture ${BUILDPACK_HOME}/bin/compile ${BUILD_DIR} ${CACHE_DIR}
compile

assertTrue "A play file should have been added to the build dir" "[ -f ${BUILD_DIR}/.play/test-cached ]"
assertFalse "Ivy files should have been removed from the build dir" "[ -d ${BUILD_DIR}/.ivy2 ]"
Expand Down

0 comments on commit b087303

Please sign in to comment.