Skip to content
This repository was archived by the owner on Feb 23, 2018. It is now read-only.

Commit 412513c

Browse files
committed
Merge pull request #124 from gkossakowski/2.10-fix
Use Scala 2.10 specific config file for building IDE
2 parents 835ace7 + 97722ca commit 412513c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

job/pr-scala-integrate-ide

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ else
3030
git clone $UBERBUILD_URL
3131
fi
3232

33+
if [ "$version_minor" = "10" ]
34+
then echo "Using Scala 2.10-specific config file."; CONFIG_FILE_NAME="validator-2.10.conf"
35+
else echo "Using default config file."; CONFIG_FILE_NAME="validator.conf"
36+
fi
37+
3338
# pass prRepoUrl in, which uber-build passes along to dbuild (in sbt-builds-for-ide)
3439
# the "-P pr-scala" maven arg accomplishes the same thing for maven (directly used in uber-build)
3540
prRepoUrl="$prRepoUrl"\
3641
MAVEN_ARGS="-P pr-scala"\
37-
$UBERBUILD_DIR/uber-build.sh $UBERBUILD_DIR/config/validator.conf $sha $maven_version_number
42+
$UBERBUILD_DIR/uber-build.sh $UBERBUILD_DIR/config/$CONFIG_FILE_NAME $sha $maven_version_number
3843

3944
# uber-build puts its local repo under target/m2repo
4045
# wipe the org/scala-lang part, which otherwise just keeps

0 commit comments

Comments
 (0)