mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
implemented rebuild for MO
This commit is contained in:
@@ -54,6 +54,15 @@ fs::path modorganizer::super_path()
|
||||
return paths::build() / "modorganizer_super";
|
||||
}
|
||||
|
||||
void modorganizer::do_clean_for_rebuild()
|
||||
{
|
||||
instrument(times_.clean, [&]
|
||||
{
|
||||
op::delete_directory(cx(),
|
||||
this_source_path() / "vsbuild", op::optional);
|
||||
});
|
||||
}
|
||||
|
||||
void modorganizer::do_fetch()
|
||||
{
|
||||
instrument(times_.init_super, [&]
|
||||
|
||||
@@ -274,6 +274,7 @@ public:
|
||||
protected:
|
||||
void do_fetch() override;
|
||||
void do_build_and_install() override;
|
||||
void do_clean_for_rebuild() override;
|
||||
|
||||
private:
|
||||
std::string repo_;
|
||||
|
||||
Reference in New Issue
Block a user