forked from luniehq/lunie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sh
executable file
·23 lines (16 loc) · 1.04 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# This is a comment!
if [ "$1" = "staging" ]
then
echo Building wallet with staging Enviorment
QRCODE=https://wallet.testnet.color-platform.rnssol.com FAUCET=https://proxy.testnet.color-platform.rnssol.com:8000/claim/wallet SHORTURL=https://s.testnet.color-platform.rnssol.com/encode/ CHAIN=local-testnet STARGATE=https://proxy.testnet.color-platform.rnssol.com:9071 RPC=https://rpc.testnet.color-platform.rnssol.com yarn build
elif [ "$1" = "production" ]
then
echo Building wallet with production Enviorment
QRCODE=https://wallet.mainbeta-2.color-platform.org FAUCET=https://getcoins.mainbeta-2.color-platform.org/claim/wallet SHORTURL=https://s.mainbeta-2.color-platform.org/encode/ CHAIN=color-mainbeta-2 STARGATE=https://proxy.mainbeta-2.color-platform.org:9061 RPC=https://rpc.mainbeta-2.color-platform.org yarn build
else
echo Environment not provided, e.g staging
fi
#npm install
#STARGATE=https://proxy.mainbeta-2.color-platform.rnssol.com:9071 RPC=https://rpc.mainbeta-2.color-platform.rnssol.com yarn build
#yarn serve:dist