mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
* Update build documentation for dev containers * Add devcontainer-rebuild make target * Add make devcontainer-sh target
29 lines
446 B
Markdown
29 lines
446 B
Markdown
# Bun's Dev Container
|
|
|
|
To get started, login to GitHub and clone bun's GitHub repo into `/build/bun`
|
|
|
|
# First time setup
|
|
|
|
```bash
|
|
gh auth login # if it fails to open a browser, use Personal Access Token instead
|
|
gh repo clone oven-sh/bun . -- --depth=1 --progress -j8
|
|
```
|
|
|
|
# Compile bun dependencies (zig is already compiled)
|
|
|
|
```bash
|
|
make devcontainer
|
|
```
|
|
|
|
# Build bun for development
|
|
|
|
```bash
|
|
make dev
|
|
```
|
|
|
|
# Run bun
|
|
|
|
```bash
|
|
bun-debug help
|
|
```
|