Skip to content

Commit

Permalink
Fix Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
atilaneves committed Feb 15, 2024
1 parent 99ade08 commit 3238803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions payload/reggae/backend/make.d
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct Makefile {
//includes rerunning reggae
string output() @safe {

import std.array: join;
import std.array: join, replace;
import std.range: chain;
import std.algorithm: sort, uniq, map;

Expand All @@ -91,7 +91,7 @@ struct Makefile {

ret ~= fileName() ~ ": " ~ chain(options.reggaeFileDependencies, srcDirs.save).join(" ") ~ "\n";
ret ~= rerunLine;
ret ~= "\n" ~ srcDirs.save.map!(d => d ~ ":" ~ "\n" ~ rerunLine).join("\n");
ret ~= "\n" ~ srcDirs.save.map!(d => d.replace(`\`, `/`) ~ ":" ~ "\n" ~ rerunLine).join("\n");
}

return replaceEnvVars(ret);
Expand Down

0 comments on commit 3238803

Please sign in to comment.