diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-20 15:31:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-20 16:10:26 +0200 |
commit | c1dc06dfd1d329f8c6499dbe2166725ab9c35e17 (patch) | |
tree | 97449ae7263490473a833944cfeb3d889a2f580d /build2/in/rule.hxx | |
parent | b4286df8c9bafdab1934cef99ccc0506ec4555e2 (diff) |
Implement bash module
Diffstat (limited to 'build2/in/rule.hxx')
-rw-r--r-- | build2/in/rule.hxx | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/build2/in/rule.hxx b/build2/in/rule.hxx index 17fbaed..9c40e4f 100644 --- a/build2/in/rule.hxx +++ b/build2/in/rule.hxx @@ -41,23 +41,38 @@ namespace build2 virtual recipe apply (action, target&) const override; + virtual target_state + perform_update (action, const target&) const; + + // Customization hooks. + // + + // Perform prerequisite search. + // + virtual prerequisite_target + search (action, + const target&, + const prerequisite_member&, + include_type) const; + // Perform variable lookup. // virtual string - lookup (const location&, const target&, const string& name) const; + lookup (const location&, + action, + const target&, + const string& name) const; // Perform variable substitution. Return nullopt if it should be // ignored. // virtual optional<string> substitute (const location&, + action, const target&, const string& name, bool strict) const; - target_state - perform_update (action, const target&) const; - protected: const string rule_id_; const string program_; |