summaryrefslogtreecommitdiff
path: root/cli/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-16 15:39:26 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2020-08-03 11:05:02 +0300
commiteb73ba6975b3c465469fa399747a1c0827972e0d (patch)
tree93917aace097cbb812e4d80ff800d8e8451c0667 /cli/build/root.build
parentaec14867cce71c5a5e849335fbec1f6e4f7068ea (diff)
Review
Diffstat (limited to 'cli/build/root.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')