We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d568abd commit 7cd7f1cCopy full SHA for 7cd7f1c
test/compile_test.sh
@@ -28,6 +28,10 @@ EOF
28
29
cat > ${projectRoot}/build.sbt <<EOF
30
TaskKey[Unit]("stage") in Compile := { println("${SBT_STAGING_STRING}") }
31
+EOF
32
+
33
+ cat > ${projectRoot}/system.properties <<EOF
34
+java.runtime.version = 8
35
EOF
36
37
mkdir -p ${projectRoot}/project
@@ -73,7 +77,6 @@ testCompile()
73
77
# run
74
78
assertCaptured "SBT tasks to run should be output" "Running: sbt compile stage"
75
79
assertCaptured "SBT should run stage task" "${SBT_STAGING_STRING}"
76
- assertTrue "system.properties was not cached" "[ -f $CACHE_DIR/system.properties ]"
80
81
# clean up
82
assertEquals "SBT home should have been repacked" "" "$(diff -r ${BUILD_DIR}/.sbt_home/bin ${CACHE_DIR}/.sbt_home/bin)"
0 commit comments