diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-16 10:46:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-16 14:37:45 +0200 |
commit | b5083221dad8084deb4a7949cb9fc487aa09e080 (patch) | |
tree | 6915b63574753aa463f5d0d00a243d1ce44946e3 /libbuild2/adhoc-rule-buildscript.hxx | |
parent | 47eab962cbee0a437357627045f8832daa5bbf2c (diff) |
WIP: apply/perform_update
Diffstat (limited to 'libbuild2/adhoc-rule-buildscript.hxx')
-rw-r--r-- | libbuild2/adhoc-rule-buildscript.hxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libbuild2/adhoc-rule-buildscript.hxx b/libbuild2/adhoc-rule-buildscript.hxx index 7f9c10a..7ec647b 100644 --- a/libbuild2/adhoc-rule-buildscript.hxx +++ b/libbuild2/adhoc-rule-buildscript.hxx @@ -36,7 +36,18 @@ namespace build2 const optional<timestamp>&) const override; target_state - perform_update_file (action, const target&) const; + perform_update_file_static (action, const target&) const; + + struct match_data; + + target_state + perform_update_file_dynamic (action, const target&, match_data&) const; + + bool + execute_update_file (const scope&, + action a, const file&, + build::script::environment&, + build::script::default_runner&) const; target_state default_action (action, const target&, const optional<timestamp>&) const; |