Skip to content

Commit 1ec17ba

Browse files
author
Buky
authored
Merge pull request jazzband#694 from Crop-R/compile_from_project_file
Compile from project file
2 parents d25aef0 + 86d731f commit 1ec17ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pipeline/compilers/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ def _compile(input_path):
3636
infile = self.storage.path(input_path)
3737
except NotImplementedError:
3838
infile = finders.find(input_path)
39+
project_infile = finders.find(input_path)
3940
outfile = compiler.output_path(infile, compiler.output_extension)
40-
outdated = compiler.is_outdated(infile, outfile)
41-
compiler.compile_file(infile, outfile,
41+
outdated = compiler.is_outdated(project_infile, outfile)
42+
compiler.compile_file(project_infile, outfile,
4243
outdated=outdated, force=force,
4344
**compiler_options)
4445

0 commit comments

Comments
 (0)