From 45f9b32ef0416e0477e9f5335df49ca3cccdb6eb Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 10 May 2020 03:09:42 +0200 Subject: 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. --- docs/contributing/building_from_source.md | 6 +++--- docs/contributing/development_tools.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/contributing') 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 ``` -- cgit v1.2.3