Files
mob/src/tasks/boost_di.cpp
T
isanae f2806d10dd added --no-pull
new task_conf() to avoid fiddling with names everywhere
changed syntax from tool/section to tool:section, easier to parse
2020-05-17 16:22:04 -04:00

36 lines
473 B
C++

#include "pch.h"
#include "tasks.h"
namespace mob
{
boost_di::boost_di()
: basic_task("boost-di", "boostdi", "boost_di")
{
}
std::string boost_di::version()
{
return {};
}
bool boost_di::prebuilt()
{
return false;
}
fs::path boost_di::source_path()
{
return paths::build() / "di";
}
void boost_di::do_fetch()
{
run_tool(git(task_conf().git_op())
.url(make_github_url("boost-experimental", "di"))
.branch("cpp14")
.output(source_path()));
}
} // namespace