Skip to content

Commit

Permalink
Merge pull request #60 from keep-network/refactor-contract-scripts
Browse files Browse the repository at this point in the history
Refactor core, ecdsa, tbtc and tbtc-dapp Installation Into Their Own Script
  • Loading branch information
dimpar authored Feb 10, 2021
2 parents 6203abc + 52fb4b6 commit f33e28a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
22 changes: 22 additions & 0 deletions install-applications.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

set -e

# Install KEEP-CORE.
./install-keep-core.sh

# Install KEEP-ECDSA.
./install-keep-ecdsa.sh

# Install tBTC.
./install-tbtc.sh

# Install tBTC dApp.
./install-tbtc-dapp.sh

# Do not install keep dashboard dApp for e2e nightly test
if [[ $E2E_TEST != true ]]
then
# Install Keep Dashboard.
./install-keep-dashboard.sh
fi
22 changes: 3 additions & 19 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,7 @@ set -e
# Install submodules.
./install-repositories.sh

# Install KEEP-CORE.
./install-keep-core.sh
# Install applications and their contracts
./install-applications.sh

# Install KEEP-ECDSA.
./install-keep-ecdsa.sh

# Install tBTC.
./install-tbtc.sh

# Install tBTC dApp.
./install-tbtc-dapp.sh

# Do not install keep dashboard dApp for e2e nightly test
if [[ $E2E_TEST != true ]]
then
# Install Keep Dashboard.
./install-keep-dashboard.sh
fi

echo "Installation script executed successfully with versions of submodules:\n$(git submodule)"
echo "Installation script executed successfully with versions of submodules:\n$(git submodule)"

0 comments on commit f33e28a

Please sign in to comment.