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

Use Scala 2.10 specific config file for building IDE #124

Merged
merged 1 commit into from
Aug 6, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion job/pr-scala-integrate-ide
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ else
git clone $UBERBUILD_URL
fi

if [ "$version_minor" = "10" ]
then echo "Using Scala 2.10-specific config file."; CONFIG_FILE_NAME="validator-2.10.conf"
else echo "Using default config file."; CONFIG_FILE_NAME="validator.conf"
fi

# pass prRepoUrl in, which uber-build passes along to dbuild (in sbt-builds-for-ide)
# the "-P pr-scala" maven arg accomplishes the same thing for maven (directly used in uber-build)
prRepoUrl="$prRepoUrl"\
MAVEN_ARGS="-P pr-scala"\
$UBERBUILD_DIR/uber-build.sh $UBERBUILD_DIR/config/validator.conf $sha $maven_version_number
$UBERBUILD_DIR/uber-build.sh $UBERBUILD_DIR/config/$CONFIG_FILE_NAME $sha $maven_version_number

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