A script to checkout and build all the Activiti repositories.
Last active
January 22, 2020 12:52
-
-
Save mteodori/70c66301a4bbe04fb218badd809a7b86 to your computer and use it in GitHub Desktop.
Build Tools for Activiti and Activiti Cloud
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
# Editor configuration, see http://editorconfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 2 | |
[*.java] | |
indent_size = 4 | |
[*.md] | |
max_line_length = off | |
trim_trailing_whitespace = false | |
[Makefile] | |
indent_style = tab |
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
target | |
/local | |
# Netbeans and IntelliJ files | |
!.gitignore | |
/nbproject | |
/*.ipr | |
/*.iws | |
*.iml | |
.idea | |
# Repository wide ignore mac DS_Store files | |
.DS_Store | |
# Eclipse | |
.project | |
.classpath | |
.settings | |
\.metadata/ | |
/.recommenders/ | |
.factorypath | |
.springBeans |
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 | |
set -e | |
SCRIPT_DIR=$(dirname $0) | |
for PROJECT in ${PROJECTS:-activiti} | |
do | |
REPOS="$REPOS $(cat $SCRIPT_DIR/repos-${PROJECT}.txt)" | |
done | |
echo SCRIPT_DIR=$SCRIPT_DIR | |
echo working with REPOS $REPOS | |
mkdir -p ${SRC_DIR:-~/src} && cd $_ | |
for REPO in $REPOS | |
do | |
pushd $PWD > /dev/null | |
echo "*************** BUILDING $REPO START ***************" | |
if ! [ -d "$REPO" ] | |
then | |
REPO_DIR=$(dirname $REPO) | |
mkdir -p $REPO_DIR | |
cd $REPO_DIR | |
git clone [email protected]:$REPO.git | |
cd $(basename $REPO) | |
else | |
cd $REPO | |
fi | |
echo $PWD | |
if [ -n "$CHECKOUT" ] | |
then | |
git checkout ${BRANCH:-develop} | |
git pull --rebase | |
fi | |
mvn ${MAVEN_ARGS:-clean install} | |
echo "**************** BUILDING $REPO END ****************" | |
popd > /dev/null | |
done |
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
Activiti/activiti-cloud-audit | |
Activiti/activiti-cloud-query | |
Activiti/example-runtime-bundle | |
Activiti/activiti-cloud-messages | |
Activiti/example-cloud-connector | |
Activiti/activiti-cloud-modeling |
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
Activiti/activiti-cloud-build | |
Activiti/activiti-cloud-api | |
Activiti/activiti-cloud-service-common | |
Activiti/activiti-cloud-runtime-bundle-service | |
Activiti/activiti-cloud-messages-service | |
Activiti/activiti-cloud-audit-service | |
Activiti/activiti-cloud-query-service | |
Activiti/activiti-cloud-modeling-service | |
Activiti/activiti-cloud-connectors | |
Activiti/activiti-cloud-dependencies |
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
Activiti/activiti |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment