diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-13 14:05:25 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-13 14:05:25 +0200 |
commit | b4eb01f725d60734cbe069aa8bfcd32779845cdc (patch) | |
tree | b04e1c8cb396ecc39e964c3cf934efa39bbd2a3e /libbuild2/script/script.hxx | |
parent | 84c13fe970101b6f0b1c0510f80c445f2ab9540a (diff) |
Make script implementations to provide sleep builtin implementation
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r-- | libbuild2/script/script.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx index f5bd69a..76c4010 100644 --- a/libbuild2/script/script.hxx +++ b/libbuild2/script/script.hxx @@ -588,6 +588,11 @@ namespace build2 virtual void create_temp_dir () = 0; + // Used as an implementation of the sleep builtin. + // + virtual void + sleep (const duration&) = 0; + public: virtual ~environment () = default; |