We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ece698c commit da2385eCopy full SHA for da2385e
.devcontainer/setup.sh
@@ -3,14 +3,18 @@ set -e
3
4
cd "$(dirname "$0")/.."
5
6
-echo "Installing packages..."
7
-corepack enable
8
-
9
-curl -L https://foundry.paradigm.xyz | bash
10
11
# Dynamically determine the home directory of the current user
12
USER_HOME=$(eval echo ~"$USER")
13
14
-# Source the user's .bashrc and run foundryup
+# Install Foundry
+curl -L https://foundry.paradigm.xyz | bash
15
# source "$USER_HOME/.bashrc"
16
"$USER_HOME/.foundry/bin/foundryup"
+
+# Install yarn, dependencies, and build the project
+corepack enable
17
+# Avoid yarn generating a prompt for corepack to install yarn
18
+corepack prepare [email protected] --activate
19
20
+yarn
0 commit comments