Skip to content

Commit

Permalink
Continue losing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 21, 2023
1 parent 71c5f6f commit 2cf87c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Lib/gftools/builder/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def convert_dependencies(self, graph):
def write_rules(cls, writer):
name = cls.__module__.split(".")[-1]
writer.comment(name + ": " + cls.description)
writer.rule(name, cls.rule + " $stamp")
if os.name == 'nt':
writer.rule(name, "cmd /c " + cls.rule + " $stamp")
else:
writer.rule(name, cls.rule + " $stamp")
writer.newline()

@property
Expand Down

0 comments on commit 2cf87c1

Please sign in to comment.