Commit db3fd2c2 by Sassan Haradji

-

parent 4111a1e0
...@@ -99,11 +99,11 @@ class Packager(object): ...@@ -99,11 +99,11 @@ class Packager(object):
output_filename=package.output_filename, output_filename=package.output_filename,
variant=package.variant, **kwargs) variant=package.variant, **kwargs)
def compile(self, paths, compiler_options, force=False): def compile(self, paths, compiler_options={}, force=False):
return self.compiler.compile( return self.compiler.compile(
paths, paths,
force=force,
compiler_options=compiler_options, compiler_options=compiler_options,
force=force,
) )
def pack(self, package, compress, signal, **kwargs): def pack(self, package, compress, signal, **kwargs):
...@@ -112,8 +112,8 @@ class Packager(object): ...@@ -112,8 +112,8 @@ class Packager(object):
print("Saving: %s" % output_filename) print("Saving: %s" % output_filename)
paths = self.compile( paths = self.compile(
package.paths, package.paths,
force=True,
compiler_options=package.compiler_options, compiler_options=package.compiler_options,
force=True,
) )
content = compress(paths, **kwargs) content = compress(paths, **kwargs)
self.save_file(output_filename, content) self.save_file(output_filename, content)
......
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