Commit 48ed4e4b authored by Kjartan Maraas's avatar Kjartan Maraas

Fix order of the phases so clean is added before check. Fixes build with -ac --check

parent 14d6e040
......@@ -563,12 +563,12 @@ class Config:
options = self.cmdline_options
else:
self.cmdline_options = options
if hasattr(options, 'clean') and (
options.clean and not 'clean' in self.build_targets):
self.build_targets.insert(0, 'clean')
if hasattr(options, 'check') and (
options.check and not 'check' in self.build_targets):
self.build_targets.insert(0, 'check')
if hasattr(options, 'clean') and (
options.clean and not 'clean' in self.build_targets):
self.build_targets.insert(0, 'clean')
if hasattr(options, 'dist') and (
options.dist and not 'dist' in self.build_targets):
self.build_targets.append('dist')
......
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