summaryrefslogtreecommitdiff
path: root/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'task.h')
-rw-r--r--task.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/task.h b/task.h
index ac56e8a..ee67b5c 100644
--- a/task.h
+++ b/task.h
@@ -16,10 +16,7 @@ public:
const Settings& settings,
const std::string& source);
- void start();
-
- int wait();
-
+ int run();
int clean();
std::vector<std::string> depends();
@@ -28,8 +25,6 @@ public:
std::filesystem::path targetFile;
std::filesystem::path depsFile;
- std::future<int> future;
-
const BuildConfiguration& config;
const Settings& settings;
};