diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-08-12 18:42:18 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-08-19 18:38:49 +0200 |
commit | 57ab772966f971f8dfdd33a2b50dfcc5a049e58b (patch) | |
tree | faf2a9a0a8e5ac78e7e61bd1e5251c73c7e3cb0a /doc/tutorial/third-party-software.org | |
parent | 3846569e57062c7a6eb91483b88596349024165b (diff) | |
download | justbuild-57ab772966f971f8dfdd33a2b50dfcc5a049e58b.tar.gz |
Tutorial: Use sh instead shell for improved rendering
Diffstat (limited to 'doc/tutorial/third-party-software.org')
-rw-r--r-- | doc/tutorial/third-party-software.org | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial/third-party-software.org b/doc/tutorial/third-party-software.org index ef77cf0b..2e1fb77e 100644 --- a/doc/tutorial/third-party-software.org +++ b/doc/tutorial/third-party-software.org @@ -49,7 +49,7 @@ following structure for the overlay: Let's create the overlay structure: -#+BEGIN_SRC shell +#+BEGIN_SRC sh $ mkdir -p fmt-layer/include/fmt $ mkdir -p fmt-layer/src #+END_SRC @@ -174,7 +174,7 @@ void greet(std::string const& s) { Due to changes made to ~repos.json~, building this tutorial requires to rerun ~just-mr~, which will fetch the necessary sources for the external repositories: -#+BEGIN_SRC shell +#+BEGIN_SRC sh $ CONF=$(/usr/src/justbuild/bin/just-mr.py -C repos.json setup tutorial) $ just build -C $CONF helloworld INFO: Requested target is [["@","tutorial","","helloworld"],{}] @@ -249,7 +249,7 @@ high-level target caching will look like this: Due to changes in the repository configuration, ~just-mr~ needs to be rerun and the benefits of the target cache should be visible on the second build: -#+BEGIN_SRC shell +#+BEGIN_SRC sh $ CONF=$(/usr/src/justbuild/bin/just-mr.py -C repos.json setup tutorial) From ~/.cache/just/tmp-workspaces/file/tmp/tutorial/tutorial-defaults * branch HEAD -> FETCH_HEAD |