diff options
author | kennyballou <kballou@onyx.boisestate.edu> | 2013-03-07 18:42:42 -0700 |
---|---|---|
committer | kennyballou <kballou@onyx.boisestate.edu> | 2013-03-07 18:42:42 -0700 |
commit | 0539fded91116c2d40ddf08ae888b02fd3a0a482 (patch) | |
tree | 03d48c06cee02e1f69d286c6f859d71134f76ad9 /build.py | |
parent | e58f93d435b7a4bb3682ea17086a48a8ab065389 (diff) | |
download | xnt-0539fded91116c2d40ddf08ae888b02fd3a0a482.tar.gz xnt-0539fded91116c2d40ddf08ae888b02fd3a0a482.tar.xz |
pylint ALL THE THINGS!
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,4 +1,5 @@ #!/usr/bin/env python +"""Xnt Build File""" import xnt @@ -17,6 +18,7 @@ def clean(): @xnt.target def build(): + """Build Xnt""" return xnt.setup(["build"]) @xnt.target @@ -31,11 +33,16 @@ def test(): return ec1 | ec2 @xnt.target +def lint(): + """pylint xnt""" + return xnt.call(["pylint", "--rcfile=pylint.conf", "xnt"]) + +@xnt.target def install(): """Install Xnt""" - ec = xnt.setup(["install", "--user"]) + error_code = xnt.setup(["install", "--user"]) clean() - return ec + return error_code @xnt.target def doc(): |