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 22, 2023
1 parent bc1039f commit 6cd18b3
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 6cd18b3

Please sign in to comment.