From fb7bf97e680f97833268c7bb4c8220a3cf58e297 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 12 Dec 2022 18:26:33 +0100 Subject: tutorial: Fix typos --- doc/tutorial/hello-world.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/tutorial/hello-world.org') 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~: -- cgit v1.2.3