Commit fb51fba3 by Victor Shnayder Committed by Timothée Peignier

Fix initial compiles.

* When the target file doesn't exist, it counts as "outdated"
parent 198a4e22
......@@ -32,7 +32,7 @@ class Compiler(object):
outfile = finders.find(output_path)
if outfile is None:
outfile = self.output_path(infile, compiler.output_extension)
outdated = False
outdated = True
else:
outdated = self.is_outdated(input_path, output_path)
compiler.compile_file(infile, outfile, outdated=outdated, force=force)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment