mirror of https://github.com/Budibase/budibase.git
2 changed files with 47 additions and 1 deletions
@ -0,0 +1,45 @@ |
|||
if [ "${CI}" = true ]; then |
|||
echo 'Skipping bootstrap-pro in CI' |
|||
exit 0 |
|||
fi |
|||
|
|||
echo "Linking backend-core" |
|||
cd packages/backend-core |
|||
yarn link |
|||
cd - |
|||
|
|||
echo "Linking string-templates" |
|||
cd packages/string-templates |
|||
yarn link |
|||
cd - |
|||
|
|||
if [ -d "../budibase-pro" ]; then |
|||
cd ../budibase-pro/packages/pro |
|||
echo "Linking pro" |
|||
yarn link |
|||
|
|||
echo "Linking backend-core to pro" |
|||
yarn link '@budibase/backend-core' |
|||
cd - |
|||
|
|||
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 |
|||
|
|||
if [ -d "../account-portal" ]; then |
|||
cd ../account-portal/packages/server |
|||
echo "Linking backend-core to account-portal" |
|||
yarn link "@budibase/backend-core" |
|||
|
|||
echo "Linking string-templates to account-portal" |
|||
yarn link "@budibase/pro" |
|||
|
|||
echo "Linking pro to account-portal" |
|||
yarn link "@budibase/pro" |
|||
cd - |
|||
fi |
|||
Loading…
Reference in new issue