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-08-09 14:19:54 +0300
commit265b9d5202a2e99caeee1f3545ace83b62be54fa (patch)
treec166dfb7d31b3771c9bbd3afc05beb46af80119c /cli/build/root.build
parent2d507c0f2e6ca663062f827d4c3dc3271edd353a (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')