Skip to content

Commit

Permalink
install script minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
el-tumero committed Sep 2, 2024
1 parent 19abc24 commit 3ff08d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script for setting up the project
# This script assumes a unix environment
# Last modified: 21/08/2024
# Last modified: 02/09/2024

HARDHAT_DEFAULT_PORT=8545

Expand All @@ -14,6 +14,10 @@ if ! cmd_exists yarn; then
echo "Error: yarn is not installed or not in PATH"; exit 1
fi

if ! cmd_exists nc; then
echo "Error: nc (netcat) is not installed or not in PATH"; exit 1
fi

require_ok() {
if [ $? -ne 0 ]; then
echo "Error: $1 failed"
Expand Down

0 comments on commit 3ff08d5

Please sign in to comment.