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 e6508e7 commit f870c31Copy full SHA for f870c31
bin/dotc
@@ -58,19 +58,20 @@ function checkjar {
58
echo "The required jar file was built successfully."
59
fi
60
else
61
- NEW_FILES="$(find "$DOTTY_ROOT/src" -iname "*.scala" -newer "$1")"
+ NEW_FILES="$(find "$DOTTY_ROOT/$3" -iname "*.scala" -newer "$1")"
62
if [ ! -z "$NEW_FILES" ];
63
then
64
echo "new files detected. rebuilding"
65
cd $DOTTY_ROOT
66
sbt $2
67
+ touch "$1"
68
cd -
69
70
71
}
72
-checkjar $MAIN_JAR package
73
-checkjar $TEST_JAR test:package
+checkjar $MAIN_JAR package src
74
+checkjar $TEST_JAR test:package test
75
76
# Autodetecting the scala-library location, in case it wasn't provided by an environment variable
77
if [ "$SCALA_LIBRARY_JAR" == "" ]
0 commit comments