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. --- build2/b.cli | 5 +++-- build2/b.cxx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'build2') diff --git a/build2/b.cli b/build2/b.cli index c6a4e3e..355e2d9 100644 --- a/build2/b.cli +++ b/build2/b.cli @@ -48,8 +48,9 @@ namespace build2 omitted, then it defaults to \cb{perform}. If is omitted, then it defaults to the default operation for this meta-operation. For \cb{perform} it is \cb{update}. Finally, if is omitted, then it - defaults to the current working directory. Some operations and - meta-operations may take additional . For example: + defaults to the current working directory. A meta-operation on operation + is called an \i{action}. Some operations and meta-operations may take + additional . For example: \ $ b # perform(update(./)) diff --git a/build2/b.cxx b/build2/b.cxx index fdd1b1c..bae40b6 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -28,13 +28,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include -- cgit v1.1