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>2021-07-23 16:53:53 +0300
commitb0d2f7077801e07e2c07cc788febe9405ad89478 (patch)
tree525a2dd8ad98d5107c75e03d49ff7113a0b2cb81 /cli/build/root.build
parentdd72117d8c87af140eedc6ac980c5a16a457e7c8 (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 ec59426..11675a4 100644
--- a/cli/build/root.build
+++ b/cli/build/root.build
@@ -52,6 +52,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')