aboutsummaryrefslogtreecommitdiff
path: root/docs/project/development.md
diff options
context:
space:
mode:
authorGravatar Ryan Morey <4590343+rmorey@users.noreply.github.com> 2023-04-11 16:19:24 -0400
committerGravatar GitHub <noreply@github.com> 2023-04-11 13:19:24 -0700
commita744f5369d356424c3039f9dcf6d7f9412565ecf (patch)
tree4e082d19e85d37585649a00662ce1e1d4ef5c210 /docs/project/development.md
parent14c6023e1551b76c12464a6213456f844fc2024e (diff)
downloadbun-a744f5369d356424c3039f9dcf6d7f9412565ecf.tar.gz
bun-a744f5369d356424c3039f9dcf6d7f9412565ecf.tar.zst
bun-a744f5369d356424c3039f9dcf6d7f9412565ecf.zip
Update development.md (#2625)
* Update development.md adds the `bash` language specifier to `which clang-15` so that when you click the copy button, it doesn't include the `$` * Update development.md * Update development.md * Update development.md
Diffstat (limited to '')
-rw-r--r--docs/project/development.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/project/development.md b/docs/project/development.md
index c077de9b7..5f16e858f 100644
--- a/docs/project/development.md
+++ b/docs/project/development.md
@@ -29,7 +29,7 @@ If none of the above solutions apply, you will have to install it [manually](htt
Make sure LLVM 15 is in your path:
-```
+```bash
$ which clang-15
```
@@ -72,7 +72,7 @@ In addition to this, you will need either `bun` or `npm` installed to install th
Zig can installed either with our npm package [`@oven/zig`](https://www.npmjs.com/package/@oven/zig), or by using [zigup](https://github.com/marler8997/zigup).
-```
+```bash
$ bun install -g @oven/zig
$ zigup master
```
@@ -159,8 +159,8 @@ While Bun is in beta, you can modify them at runtime in release builds via the e
To build a release build of Bun, run:
```bash
-make release-bindings -j12
-make release
+$ make release-bindings -j12
+$ make release
```
The binary will be located at `packages/bun-{platform}-{arch}/bun`.
@@ -180,7 +180,7 @@ You'll need a very recent version of Valgrind due to DWARF 5 debug symbols. You
`--fair-sched=try` is necessary if running multithreaded code in Bun (such as the bundler). Otherwise it will hang.
```bash
-valgrind --fair-sched=try --track-origins=yes bun-debug <args>
+$ valgrind --fair-sched=try --track-origins=yes bun-debug <args>
```
## Troubleshooting