aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/scripts/getting-started.sh
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-24 04:56:42 +0000
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-24 04:56:42 +0000
commit42ff5415ba7974c1e36697121b53a8299ea703bd (patch)
tree14540a19b04cb8aaf6423fdf20a39981842cac08 /.devcontainer/scripts/getting-started.sh
parent0e52be84271c56de6638ce968cd7b2098008a640 (diff)
parent77fc310a70aed3770331638301bdd62344742bac (diff)
downloadbun-42ff5415ba7974c1e36697121b53a8299ea703bd.tar.gz
bun-42ff5415ba7974c1e36697121b53a8299ea703bd.tar.zst
bun-42ff5415ba7974c1e36697121b53a8299ea703bd.zip
Merge branch 'main' of github.com:/Jarred-Sumner/bun into main
Diffstat (limited to '.devcontainer/scripts/getting-started.sh')
-rw-r--r--.devcontainer/scripts/getting-started.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/.devcontainer/scripts/getting-started.sh b/.devcontainer/scripts/getting-started.sh
index a315f0fc0..5fa8af83c 100644
--- a/.devcontainer/scripts/getting-started.sh
+++ b/.devcontainer/scripts/getting-started.sh
@@ -2,15 +2,18 @@
echo "To get started, login to GitHub and clone Bun's GitHub repo into /workspaces/bun"
echo "Make sure to login with a Personal Access Token"
+echo "# First time setup"
+echo "gh auth login"
+echo "gh repo clone Jarred-Sumner/bun . -- --depth=1 --progress -j8"
echo ""
-echo " gh auth login;"
-echo " gh repo clone Jarred-Sumner/bun -- --depth=1 --progress --recursive -j8"
-echo " cd bun;"
-echo " make devcontainer"
+echo "# update all submodules except webkit because webkit takes awhile and it's already compiled for you."
+echo "git -c submodule.\"src/javascript/jsc/WebKit\".update=none submodule update --init --recursive --depth=1 --progress"
echo ""
-echo "To build for development:"
-echo " make dev"
+echo "# Compile bun dependencies (zig is already compiled)"
+echo "make devcontainer"
echo ""
-echo "To run:"
-echo " bun-debug"
+echo "# Build Bun for development"
+echo "make dev"
echo ""
+echo "# Run bun"
+echo "bun-debug"