summaryrefslogtreecommitdiff
path: root/doc/tutorial/hello-world.org
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-12 18:26:33 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-16 10:26:39 +0100
commitfb7bf97e680f97833268c7bb4c8220a3cf58e297 (patch)
tree0ffe5fa094c1679ffa052201031be22b13714b58 /doc/tutorial/hello-world.org
parent0fea1101050ef38e94a8afa4febc8b681f769ff2 (diff)
downloadjustbuild-fb7bf97e680f97833268c7bb4c8220a3cf58e297.tar.gz
tutorial: Fix typos
Diffstat (limited to 'doc/tutorial/hello-world.org')
-rw-r--r--doc/tutorial/hello-world.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial/hello-world.org b/doc/tutorial/hello-world.org
index fbe7093b..4f4f318b 100644
--- a/doc/tutorial/hello-world.org
+++ b/doc/tutorial/hello-world.org
@@ -83,7 +83,7 @@ The ~"type"~ field refers to the rule ~"binary"~ from the module ~"CC"~ of the
~"rules"~ repository. This rule additionally requires the string field ~"name"~,
which specifies the name of the binary to produce; as the generic interface of
rules is to have fields either take a list of strings or a list of targets,
-we have to sepcify the name as a list (this rule will simply concatenate all
+we have to specify the name as a list (this rule will simply concatenate all
strings given in this field). Furthermore, at least one
input to the binary is required, which can be specified via the target fields
~"srcs"~ or ~"deps"~. In our case, the former is used, which contains our single
@@ -296,7 +296,7 @@ full-qualified path like ~["com", "example", "utils", "greet"]~ could be used to
distinguish it from greeting libraries of other projects). The staging directory
does not only affect the main artifact ~libgreet.a~ but also it's /runfiles/,
a second set of artifacts, usually those a consumer needs to make proper use the
-actual artifact; in the case of a libary, the runfiles are its public headers.
+actual artifact; in the case of a library, the runfiles are its public headers.
Hence, the public header will be staged to ~"greet/greet.hpp"~. With that
knowledge, we can now perform the necessary modifications to ~main.cpp~: