From 55a9ff6c72da30ad8761938d00c94355a0cb1b04 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Sep 2020 13:42:17 +0200 Subject: Add bootstrap distribution mode (!config.dist.bootstrap=true) In this mode the dist meta-operation does not load the project (but does bootstrap it) and adds all the source files into the distribution only ignoring files and directories that start with a dot. This mode is primarily meant for situation where the project cannot (yet) be loaded due to missing dependencies. --- libbuild2/dist/operation.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/dist/operation.hxx') diff --git a/libbuild2/dist/operation.hxx b/libbuild2/dist/operation.hxx index 8030590..b6730f4 100644 --- a/libbuild2/dist/operation.hxx +++ b/libbuild2/dist/operation.hxx @@ -13,7 +13,8 @@ namespace build2 { namespace dist { - extern const meta_operation_info mo_dist; + extern const meta_operation_info mo_dist_load; + extern const meta_operation_info mo_dist_bootstrap; } } -- cgit v1.1