aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/script
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/script')
-rw-r--r--build2/test/script/script9
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/test/script/script b/build2/test/script/script
index a841d6c..7ce6708 100644
--- a/build2/test/script/script
+++ b/build2/test/script/script
@@ -139,6 +139,13 @@ namespace build2
ostream&
operator<< (ostream&, const command&);
+ struct description
+ {
+ string id;
+ string summary;
+ string details;
+ };
+
class script;
class scope
@@ -155,6 +162,8 @@ namespace build2
const path& id_path; // Id path ($@, relative in POSIX form).
const dir_path& wd_path; // Working dir ($~, absolute and normalized).
+ optional<description> desc;
+
// Files and directories that must be automatically cleaned up when
// the scope is left. If the path ends with a trailing slash, then it
// is assumed to be to a directory, otherwise -- to a file.