diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-06-02 23:08:13 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-06-02 23:08:13 -0400 |
commit | 1bb8c261645ca0e73af9661401e121f0c6b40aff (patch) | |
tree | 9206b2136d15a6ecd445da935e27d2cccad733d0 | |
parent | 27ee9487a40526837e7fe8157986ce9bd4e3c542 (diff) | |
download | ipsutils-1bb8c261645ca0e73af9661401e121f0c6b40aff.tar.gz |
LINT is optional
-rw-r--r-- | ipsutils/build.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipsutils/build.py b/ipsutils/build.py index 0c9c298..b214d42 100644 --- a/ipsutils/build.py +++ b/ipsutils/build.py @@ -32,7 +32,7 @@ class Build(env.Environment): os.chdir(self.env['IPSBUILD']) # Create list of build tasks ordered_tasks = ['prep', 'build', 'install'] - self.controller = task.TaskController() + self.controller = task.Controller() # Assign built-in IPS tasks self.controller.task(tasks.Unpack(cls=self)) @@ -48,6 +48,8 @@ class Build(env.Environment): self.controller.task(tasks.Transmogrify(cls=self)) self.controller.task(tasks.Dependencies(cls=self)) self.controller.task(tasks.Resolve_Dependencies(cls=self)) + if self.options.lint: + self.controller.task(tasks.Lint(cls=self)) self.controller.task(tasks.Package(cls=self)) self.controller.task(tasks.Package(cls=self, spkg=True)) |