This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git fetch & | |
MAIN_BRANCH="main" | |
# detect master / main branch | |
if [ "$(git rev-parse --quiet --verify $MAIN_BRANCH)" ]; then | |
echo "main branch: ${MAIN_BRANCH}" | |
else | |
MAIN_BRANCH="master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-server | |
-Xms2g | |
-Xmx2g | |
-Xss16m | |
-XX:+UseConcMarkSweepGC | |
-XX:+CMSParallelRemarkEnabled | |
-XX:ConcGCThreads=4 | |
-XX:ReservedCodeCacheSize=128m | |
-XX:+AlwaysPreTouch | |
-XX:+TieredCompilation |