summaryrefslogtreecommitdiff
path: root/cli/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-16 15:39:26 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-06 20:32:32 +0300
commite3dd3066562ec146ce406611375ed6337c13f7d1 (patch)
tree12d53526baaa3b15dfda02b4995d2ccf2d8c702c /cli/build
parentba29edace4cffd4a13ca08c26614d8fb0feaf2ba (diff)
Review
Diffstat (limited to 'cli/build')
-rw-r--r--cli/build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/build/root.build b/cli/build/root.build
index f041a74..af59ccb 100644
--- a/cli/build/root.build
+++ b/cli/build/root.build
@@ -46,6 +46,8 @@ test.target = $cxx.target
# Extract the copyright notice from the LICENSE file.
#
+# Note that cat is a builtin which means this is both portable and fast.
+#
copyright = $process.run_regex(cat $src_root/LICENSE, \
'Copyright \(c\) (.+)\.', \
'\1')