about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorBehnam Esfahbod <behnam@zwnj.org>2018-09-08 20:02:50 -0700
committerBehnam Esfahbod <behnam@zwnj.org>2018-09-08 21:22:00 -0700
commit88fe8acd89ab5e657f0966d5c290ff79bcb62c40 (patch)
tree116534281ed9c7e1ff93c91bfa799716cbb3b4f7 /src/bootstrap
parent0198a1ea45e29af00d92423aa6d2ac876410c3f9 (diff)
downloadrust-88fe8acd89ab5e657f0966d5c290ff79bcb62c40.tar.gz
rust-88fe8acd89ab5e657f0966d5c290ff79bcb62c40.zip
docs: Use dollar sign for all bash prompts
Making it consistent across the board, as most of them already use `$`.

Also split one continues bash run into two, to make it easier see
different runs: one with warning and another with error.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bootstrap/README.md b/src/bootstrap/README.md
index 98c353eb6ec..1e01d68fb3a 100644
--- a/src/bootstrap/README.md
+++ b/src/bootstrap/README.md
@@ -8,14 +8,14 @@ system.
 
 The rustbuild build system has a primary entry point, a top level `x.py` script:
 
-```
-python ./x.py build
+```sh
+$ python ./x.py build
 ```
 
 Note that if you're on Unix you should be able to execute the script directly:
 
-```
-./x.py build
+```sh
+$ ./x.py build
 ```
 
 The script accepts commands, flags, and arguments to determine what to do:
@@ -129,18 +129,18 @@ To follow this course of action, first thing you will want to do is to
 install a nightly, presumably using `rustup`. You will then want to
 configure your directory to use this build, like so:
 
-```
+```sh
 # configure to use local rust instead of downloading a beta.
 # `--local-rust-root` is optional here. If elided, we will
 # use whatever rustc we find on your PATH.
-> ./configure --local-rust-root=~/.cargo/ --enable-local-rebuild
+$ ./configure --local-rust-root=~/.cargo/ --enable-local-rebuild
 ```
 
 After that, you can use the `--incremental` flag to actually do
 incremental builds:
 
-```
-> ./x.py build --incremental
+```sh
+$ ./x.py build --incremental
 ```
 
 The `--incremental` flag will store incremental compilation artifacts
@@ -159,7 +159,7 @@ will still be using the local nightly as your bootstrap).
 This build system houses all output under the `build` directory, which looks
 like this:
 
-```
+```sh
 # Root folder of all output. Everything is scoped underneath here
 build/