summaryrefslogtreecommitdiff
path: root/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'task.h')
-rw-r--r--task.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/task.h b/task.h
index ee67b5c..bdd881b 100644
--- a/task.h
+++ b/task.h
@@ -16,11 +16,16 @@ public:
const Settings& settings,
const std::string& source);
+ bool dirty();
+
int run();
int clean();
- std::vector<std::string> depends();
+ std::vector<std::string> depends() const;
+
+ std::string target() const;
+private:
std::filesystem::path sourceFile;
std::filesystem::path targetFile;
std::filesystem::path depsFile;