Bootstrap using submodule

This commit is contained in:
adrinr 2023-04-11 16:53:51 +01:00
parent 5ea8086be0
commit 000e49a229
2 changed files with 49 additions and 1897 deletions

File diff suppressed because it is too large Load Diff

View File

@ -34,35 +34,11 @@ yarn unlink
yarn link
cd -
if [ -d "../budibase-pro" ]; then
cd ../budibase-pro
echo "Bootstrapping budibase-pro"
yarn bootstrap
cd packages/pro
echo "Linking pro"
yarn unlink
yarn link
echo "Linking backend-core to pro"
yarn link '@budibase/backend-core'
echo "Linking types to pro"
yarn link '@budibase/types'
echo "Linking string-templates to pro"
yarn link '@budibase/string-templates'
cd ../../../budibase
echo "Linking pro to worker"
cd packages/worker && yarn link '@budibase/pro'
cd -
echo "Linking pro to server"
cd packages/server && yarn link '@budibase/pro'
cd -
fi
echo "Linking pro"
cd packages/pro/packages/pro
yarn unlink
yarn link
cd -
if [ -d "../account-portal" ]; then
cd ../account-portal