Skip to content

Commit

Permalink
streamline a little
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Jan 13, 2025
1 parent ad9abaf commit adeef79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/morphia/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ cd git_repo
if [ -d core ]
then
rm -rf $( ls -1 | grep -v core | grep -v mvn)
mv core/* .
git mv core/* .
rmdir core
rm -rf src/main/java
git rm -rf src/main/java
cp ../core-pom.xml pom.xml
else
mvn -e test-compile #| grep "\[ERROR\].*\.java.*"
Expand Down
7 changes: 7 additions & 0 deletions test-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ function upgrade() {
title "Done upgrading $PROJECT"
}

if [ -d ~/dev/morphia.dev ]
then
cd ~/dev/morphia.dev/morphia/rewrite
mvn clean install
cd -
fi

if [ -z "$1" ]
then
ENTRIES=$( ls -1 $PROJECTS )
Expand Down

0 comments on commit adeef79

Please # to comment.