mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
new task_conf() to avoid fiddling with names everywhere changed syntax from tool/section to tool:section, easier to parse
36 lines
473 B
C++
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
|