Skip to content

Commit

Permalink
Added fineract-cn-postgresql to build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Izakey committed Dec 28, 2018
1 parent e8cf166 commit e75d0ae
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 33 deletions.
2 changes: 1 addition & 1 deletion scripts/Unix/initial-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ get_modules() {
done
}

get_modules fineract-cn-lang fineract-cn-api fineract-cn-async fineract-cn-cassandra fineract-cn-mariadb fineract-cn-data-jpa fineract-cn-command fineract-cn-test
get_modules fineract-cn-lang fineract-cn-api fineract-cn-async fineract-cn-cassandra fineract-cn-mariadb fineract-cn-data-jpa fineract-cn-command fineract-cn-test fineract-cn-postgresql

# Return to start folder
cd ..
Expand Down
2 changes: 1 addition & 1 deletion scripts/Unix/pull-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get_modules() {
(
cd core
get_modules fineract-cn-lang fineract-cn-api fineract-cn-async fineract-cn-cassandra fineract-cn-mariadb fineract-cn-data-jpa \
fineract-cn-command fineract-cn-test
fineract-cn-command fineract-cn-test fineract-cn-postgresql
)

(
Expand Down
9 changes: 9 additions & 0 deletions scripts/windows/initial-setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ CALL gradlew publishToMavenLocal
TIMEOUT /T 5
cd ..

REM initialize postgresql
git clone https://github.com/%githubAccount%/fineract-cn-postgresql.git
cd fineract-cn-postgresql
git remote add upstream https://github.com/apache/fineract-cn-postgresql.git
git checkout develop
CALL gradlew publishToMavenLocal
TIMEOUT /T 5
cd ..

REM return to start folder
cd ..

Expand Down
71 changes: 40 additions & 31 deletions scripts/windows/pull-all.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SET githubAccount=%1
cd core

REM pull lang
cd lang
cd fineract-cn-lang
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -31,7 +31,7 @@ TIMEOUT /T 5
cd ..

REM pull async
cd async
cd fineract-cn-async
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -40,7 +40,7 @@ TIMEOUT /T 5
cd ..

REM pull cassandra
cd cassandra
cd fineract-cn-cassandra
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -49,7 +49,7 @@ TIMEOUT /T 5
cd ..

REM pull mariadb
cd mariadb
cd fineract-cn-mariadb
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -58,7 +58,7 @@ TIMEOUT /T 5
cd ..

REM pull data-jpa
cd data-jpa
cd fineract-cn-data-jpa
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -67,7 +67,7 @@ TIMEOUT /T 5
cd ..

REM pull command
cd command
cd fineract-cn-command
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -76,7 +76,7 @@ TIMEOUT /T 5
cd ..

REM pull api
cd api
cd fineract-cn-api
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -85,7 +85,16 @@ TIMEOUT /T 5
cd ..

REM pull test
cd test
cd fineract-cn-test
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
git push origin develop
TIMEOUT /T 5
cd ..

REM pull postgresql
cd fineract-cn-postgresql
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -98,7 +107,7 @@ cd ..
cd tools

REM pull crypto
cd crypto
cd fineract-cn-crypto
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -109,7 +118,7 @@ cd ..
cd ..

REM pull anubis
cd anubis
cd fineract-cn-anubis
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -118,7 +127,7 @@ TIMEOUT /T 5
cd ..

REM pull permitted-feign-client
cd permitted-feign-client
cd fineract-cn-permitted-feign-client
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -127,7 +136,7 @@ TIMEOUT /T 5
cd ..

REM pull provisioner
cd provisioner
cd fineract-cn-provisioner
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -136,7 +145,7 @@ TIMEOUT /T 5
cd ..

REM pull identity
cd identity
cd fineract-cn-identity
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -145,7 +154,7 @@ TIMEOUT /T 5
cd ..

REM pull rhythm
cd rhythm
cd fineract-cn-rhythm
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -154,7 +163,7 @@ TIMEOUT /T 5
cd ..

REM pull template
cd template
cd fineract-cn-template
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -163,7 +172,7 @@ TIMEOUT /T 5
cd ..

REM pull office
cd office
cd fineract-cn-office
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -172,7 +181,7 @@ TIMEOUT /T 5
cd ..

REM pull customer
cd customer
cd fineract-cn-customer
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -181,7 +190,7 @@ TIMEOUT /T 5
cd ..

REM pull group
cd group
cd fineract-cn-group
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -190,7 +199,7 @@ TIMEOUT /T 5
cd ..

REM pull accounting
cd accounting
cd fineract-cn-accounting
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -199,7 +208,7 @@ TIMEOUT /T 5
cd ..

REM pull portfolio
cd portfolio
cd fineract-cn-portfolio
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -208,7 +217,7 @@ TIMEOUT /T 5
cd ..

REM pull deposit-account-management
cd deposit-account-management
cd fineract-cn-deposit-account-management
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -217,7 +226,7 @@ TIMEOUT /T 5
cd ..

REM pull teller
cd teller
cd fineract-cn-teller
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -226,7 +235,7 @@ TIMEOUT /T 5
cd ..

REM pull reporting
cd reporting
cd fineract-cn-reporting
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -235,7 +244,7 @@ TIMEOUT /T 5
cd ..

REM pull payroll
cd payroll
cd fineract-cn-payroll
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -244,7 +253,7 @@ TIMEOUT /T 5
cd ..

REM pull notifications
cd notifications
cd fineract-cn-notifications
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -255,7 +264,7 @@ cd ..
cd integration-tests

REM pull service-starter
cd service-starter
cd fineract-cn-service-starter
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -264,7 +273,7 @@ TIMEOUT /T 5
cd ..

REM pull default-setup
cd default-setup
cd fineract-cn-default-setup
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -273,7 +282,7 @@ TIMEOUT /T 5
cd ..

REM pull demo-server
cd demo-server
cd fineract-cn-demo-server
git checkout develop
git pull upstream develop
CALL gradlew publishToMavenLocal
Expand All @@ -282,7 +291,7 @@ TIMEOUT /T 5
cd ..

REM pull test-provisioner-identity-organization
cd test-provisioner-identity-organization
cd fineract-cn-test-provisioner-identity-organization
git checkout develop
git pull upstream develop
CALL gradlew build
Expand All @@ -291,7 +300,7 @@ TIMEOUT /T 5
cd ..

REM pull test-accounting-portfolio
cd test-accounting-portfolio
cd fineract-cn-test-accounting-portfolio
git checkout develop
git pull upstream develop
CALL gradlew build
Expand All @@ -302,7 +311,7 @@ cd ..
cd ..

REM pull Web App
cd fims-web-app
cd fineract-cn-fims-web-app
git checkout develop
git checkout -- src/main.ts
git checkout -- src/favicon.png
Expand Down

0 comments on commit e75d0ae

Please sign in to comment.