diff options
author | 2021-12-23 19:57:47 -0800 | |
---|---|---|
committer | 2021-12-23 19:57:47 -0800 | |
commit | 3c3ab57cf6ef899c299b19380752add3780e951f (patch) | |
tree | 968e472ae7d23d58d968562a553b505a5091ddd3 /.devcontainer/scripts/getting-started.sh | |
parent | b73e7a9732beefefa82934e728421275a089c49d (diff) | |
download | bun-3c3ab57cf6ef899c299b19380752add3780e951f.tar.gz bun-3c3ab57cf6ef899c299b19380752add3780e951f.tar.zst bun-3c3ab57cf6ef899c299b19380752add3780e951f.zip |
:nail_care:
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..ca589cbaa 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 are 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" |