mirror of https://github.com/waku-org/nwaku.git
14 lines
339 B
Bash
Executable File
14 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Install Anvil
|
|
|
|
|
|
BASE_DIR="${XDG_CONFIG_HOME:-$HOME}"
|
|
FOUNDRY_DIR="${FOUNDRY_DIR-"$BASE_DIR/.foundry"}"
|
|
FOUNDRY_BIN_DIR="$FOUNDRY_DIR/bin"
|
|
|
|
curl -L https://foundry.paradigm.xyz | bash
|
|
# Extract the source path from the download result
|
|
echo "foundryup_path: $FOUNDRY_BIN_DIR"
|
|
# run foundryup
|
|
$FOUNDRY_BIN_DIR/foundryup |