diff options
Diffstat (limited to '.devcontainer/scripts/getting-started.sh')
-rw-r--r-- | .devcontainer/scripts/getting-started.sh | 19 |
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" |