summaryrefslogtreecommitdiff
path: root/task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'task.cc')
-rw-r--r--task.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/task.cc b/task.cc
index 5a08a47..8c48543 100644
--- a/task.cc
+++ b/task.cc
@@ -35,6 +35,11 @@ int Task::registerDepTasks(const std::list<std::shared_ptr<Task>>& tasks)
return 0;
}
+std::string Task::name() const
+{
+ return config.target;
+}
+
bool Task::dirty()
{
for(const auto& task : dependsTasks)