Skip to content

Commit

Permalink
Changed: build script to do use different build options for RC branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lee committed Apr 11, 2019
1 parent 66ba5c8 commit 4920ffc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .build-scripts/build-project-simple.sh
Expand Up @@ -12,7 +12,13 @@ else
echo "Build projects"
echo "--------------------------------------------"
echo ""
sbt -d -J-Xmx2048m "; ++ ${scala_version}!; clean; test; package"
if [[ "$BRANCH_NAME" == "rc" ]]
then
sbt -d -J-Xmx2048m "; ++ ${scala_version}!; clean; test"
sbt -d -J-Xmx2048m "; ++ ${scala_version}!; packageBin; packageSrc; packageDoc"
else
sbt -d -J-Xmx2048m "; ++ ${scala_version}!; clean; test; package"
fi

echo "============================================"
echo "Building projects: Done"
Expand Down

0 comments on commit 4920ffc

Please sign in to comment.