aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-20 15:00:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:38:57 +0200
commite222cbabb84b5a6357242e47196f7e0eeb69a44f (patch)
treed1f11ce1c17055b3c66a2b0df3f8070c5845e253 /libbuild2/rule.hxx
parent82ee575b32bc57598cec5eaaa3a170ac36de9af0 (diff)
Implement build script variable hashing
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index 50ed126..a674b05 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -188,8 +188,10 @@ namespace build2
: adhoc_rule (l, b), diag (move (d)) {}
public:
- const optional<string> diag; // Command name for low-verbosity diag.
+ const optional<string> diag; // Command name for low-verbosity diag.
+ string checksum; // Script text hashsum.
script_type script;
+
};
// Ad hoc C++ rule.