From 44d3acdb065205f5fd69834a75b472721bea5443 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 May 2020 08:24:25 +0200 Subject: Support for cleaning up recipe builds --- libbuild2/rule.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbuild2/rule.hxx') diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index 69be2cc..ca17f2e 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -144,6 +144,13 @@ namespace build2 // public: build2::rule_match rule_match; + + static const dir_path recipes_build_dir; + + // Scope operation callback that cleans up ad hoc recipe builds. + // + static target_state + clean_recipes_build (action, const scope&, const dir&); }; // Ad hoc script rule. -- cgit v1.1