1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00
budibase/scripts/localdomain.sh

16 lines
294 B
Bash
Raw Normal View History

#!/bin/bash
enable=$1
domain=$2
if [ "$enable" = "enable" ]; then
lerna run env:localdomain:enable -- "$domain"
2023-10-17 04:54:36 +13:00
cd apps/account-portal
yarn env:localdomain:enable "$domain"
cd -
else
lerna run env:localdomain:disable
2023-10-17 04:54:36 +13:00
cd apps/account-portal
yarn env:localdomain:disable
cd -
fi