summaryrefslogtreecommitdiff
path: root/docs/contributing
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-05-10 03:09:42 +0200
committerGitHub <noreply@github.com>2020-05-10 03:09:42 +0200
commit45f9b32ef0416e0477e9f5335df49ca3cccdb6eb (patch)
treeb04cab2d36b39932320f9e95537910b8742f32f7 /docs/contributing
parentf6b617784f53497b0c59d6f6f1370cb2223e38f3 (diff)
Docs for deno test + minor other changes (#5185)
* Added fs events example. * Added docs for `deno test`. * Renamed file server example. * Unified markdown code types. * Removed plugin topics from TOC. * Fixed links.
Diffstat (limited to 'docs/contributing')
-rw-r--r--docs/contributing/building_from_source.md6
-rw-r--r--docs/contributing/development_tools.md8
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/contributing/building_from_source.md b/docs/contributing/building_from_source.md
index 62bbf2303..381ad7b03 100644
--- a/docs/contributing/building_from_source.md
+++ b/docs/contributing/building_from_source.md
@@ -8,7 +8,7 @@ Deno you can download a prebuilt executable (more information in the
Clone on Linux or Mac:
-```bash
+```shell
git clone --recurse-submodules https://github.com/denoland/deno.git
```
@@ -18,7 +18,7 @@ Extra steps for Windows users:
(otherwise symlinks would require administrator privileges).
2. Make sure you are using git version 2.19.2.windows.1 or newer.
3. Set `core.symlinks=true` before the checkout:
- ```bash
+ ```shell
git config --global core.symlinks true
git clone --recurse-submodules https://github.com/denoland/deno.git
```
@@ -77,7 +77,7 @@ about the V8 build.
Build with Cargo:
-```bash
+```shell
# Build:
cargo build -vv
diff --git a/docs/contributing/development_tools.md b/docs/contributing/development_tools.md
index 35bd5a5fb..b8aa9505f 100644
--- a/docs/contributing/development_tools.md
+++ b/docs/contributing/development_tools.md
@@ -4,7 +4,7 @@
Test `deno`:
-```bash
+```shell
# Run the whole suite:
cargo test
@@ -14,7 +14,7 @@ cargo test js_unit_tests
Test `std/`:
-```bash
+```shell
cargo test std_tests
```
@@ -22,13 +22,13 @@ cargo test std_tests
Lint the code:
-```bash
+```shell
./tools/lint.py
```
Format the code:
-```bash
+```shell
./tools/format.py
```