From 9ec2bdd87659438b4aa021a10c4a4977ef77118e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Jun 2020 06:36:30 +0200 Subject: Add ability to specify ad hoc recipe actions We are reusing the buildspec syntax for that. --- libbuild2/recipe.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libbuild2/recipe.hxx') diff --git a/libbuild2/recipe.hxx b/libbuild2/recipe.hxx index efd184a..823f804 100644 --- a/libbuild2/recipe.hxx +++ b/libbuild2/recipe.hxx @@ -58,10 +58,8 @@ namespace build2 struct adhoc_recipe { - // @@ TODO: maybe we should have a small vector of actions (for dump). - // - build2::action action; - shared_ptr rule; + small_vector actions; + shared_ptr rule; }; } -- cgit v1.1