Skip to content

Commit

Permalink
Fix reggae builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Dec 15, 2024
1 parent 1ea2faf commit 03e7684
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tools/dplug-build/source/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -1561,8 +1561,13 @@ void buildPlugin(OS targetOS,
// force reggae and ninja build
if (force)
{
rmdirRecurse(rootDir ~ "/.reggae");
std.file.remove(rootDir ~ "/.ninja_log");
try
{
rmdirRecurse(rootDir ~ "/.reggae");
std.file.remove(rootDir ~ "/.ninja_log");
}
catch(Exception e)
{}
}

// Note: reggae doesn't seem to have a --root argument
Expand Down

0 comments on commit 03e7684

Please sign in to comment.