Skip to content

Commit

Permalink
revert changes in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
flybywind authored and mhamilton723 committed Oct 22, 2018
1 parent 69a7641 commit bd4f3ca
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions tools/runme/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,13 @@ _sbt_build() {
TESTS=",$TESTS,"; TESTS="${TESTS//,+scala,/,}"; TESTS="${TESTS#,}"; TESTS="${TESTS%,}"
if [[ "$TESTS" = "" ]]; then TESTS="all"; fi
fi
if [[ "$SUBPROJECT" != "" ]]; then
_sbt_run "project $SUBPROJECT" compile
else
_sbt_run "full-build"
show section "Sorting assembly jar for the maven repo"
# leave only the -assembley jars under the proper name (and the pom files)
local f; for f in "$BUILD_ARTIFACTS/packages/m2/"**; do case "$f" in
( *-@(javadoc|sources).jar@(|.md5|.sha1) ) _rm "$f" ;;
( *-assembly.jar@(|.md5|.sha1) ) _ mv "$f" "${f//-assembly.jar/.jar}" ;;
esac; done
fi
_sbt_run "full-build"
show section "Sorting assembly jar for the maven repo"
# leave only the -assembley jars under the proper name (and the pom files)
local f; for f in "$BUILD_ARTIFACTS/packages/m2/"**; do case "$f" in
( *-@(javadoc|sources).jar@(|.md5|.sha1) ) _rm "$f" ;;
( *-assembly.jar@(|.md5|.sha1) ) _ mv "$f" "${f//-assembly.jar/.jar}" ;;
esac; done
cd "$owd"
}

Expand Down

0 comments on commit bd4f3ca

Please sign in to comment.