Skip to content

Commit

Permalink
Correct ninja syntax on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 21, 2023
1 parent 09bf21a commit df31cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/gftools/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from dataclasses import dataclass
import os.path
import networkx as nx
from ninja.ninja_syntax import Writer
from ninja.ninja_syntax import Writer, escape_path
from fontmake.font_project import FontProject

from gftools.builder.file import File
Expand Down Expand Up @@ -247,7 +247,7 @@ def walk_graph(self):
edge["operation"].validate()
actions[(source, edge["operation"])].append(target)
if not list(self.graph.successors(target)):
final_targets.append(target.path)
final_targets.append(escape_path(target.path))

for (source, operation), targets in actions.items():
operation.build(self.writer)
Expand Down

0 comments on commit df31cb6

Please sign in to comment.