diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-11-20 22:07:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-02 17:31:04 +0300 |
commit | 0ff39fd77b3127c7a250e7f817e34dfaecbcc208 (patch) | |
tree | edb20351f3d44558201b5668823c191a8722d3a5 /libbuild2/recipe.hxx | |
parent | 41a6f8b7d3036708f36ea1b5bd5b8d4289428fe5 (diff) |
Add support for buildscript depdb preamble
Diffstat (limited to 'libbuild2/recipe.hxx')
-rw-r--r-- | libbuild2/recipe.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/recipe.hxx b/libbuild2/recipe.hxx index b88311c..7eca34a 100644 --- a/libbuild2/recipe.hxx +++ b/libbuild2/recipe.hxx @@ -54,10 +54,11 @@ namespace build2 // A recipe is a fragment of a rule so we handle ad hoc recipies by // "completing" them to rules. // + using adhoc_actions = small_vector<action, 1>; struct adhoc_recipe { - small_vector<action, 1> actions; - shared_ptr<adhoc_rule> rule; + adhoc_actions actions; + shared_ptr<adhoc_rule> rule; }; } |