Skip to content

Commit

Permalink
fix: wallet release building issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kentsday committed Aug 1, 2024
1 parent 07c8216 commit ca73f18
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .env.hibit-id.testnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VITE_HIBIT_ID_API=https://testnetidapi.hibit.app/
VITE_HIBIT_AUTH_SERVER=https://testnetauth.hibit.app/
VITE_HIBIT_AUTH_CLIENT_ID=IdServer_HibitIdWeb
VITE_EX3_API=https://alphaapi.ex3.one/
VITE_TELEGRAM_BOT_ID=7359440424
VITE_APP_ENV=TestNet
12 changes: 1 addition & 11 deletions scripts/build_testnet.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
#!/bin/bash

yarn install --frozen-lockfile

cd apps/wallet/ || exit

export VITE_HIBIT_ID_API=https://testnetidapi.hibit.app/
export VITE_HIBIT_AUTH_SERVER=https://testnetauth.hibit.app/
export VITE_HIBIT_AUTH_CLIENT_ID=IdServer_HibitIdWeb
export VITE_EX3_API=https://alphaapi.ex3.one/
export VITE_TELEGRAM_BOT_ID=7359440424
export VITE_APP_ENV=TestNet

yarn build
yarn build:wallet
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"outputs": ["dist/**"]
},
"@deland-labs/hibit-id-wallet#build": {
"inputs": [
"$TURBO_DEFAULT$",
".env.hibit-id.testnet"
],
"dependsOn": ["@deland-labs/hibit-id-sdk#build"],
"outputs": ["dist/**"]
},
Expand Down

0 comments on commit ca73f18

Please sign in to comment.