summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorkennyballou <kballou@onyx.boisestate.edu>2013-03-07 18:42:42 -0700
committerkennyballou <kballou@onyx.boisestate.edu>2013-03-07 18:42:42 -0700
commit0539fded91116c2d40ddf08ae888b02fd3a0a482 (patch)
tree03d48c06cee02e1f69d286c6f859d71134f76ad9 /build.py
parente58f93d435b7a4bb3682ea17086a48a8ab065389 (diff)
downloadxnt-0539fded91116c2d40ddf08ae888b02fd3a0a482.tar.gz
xnt-0539fded91116c2d40ddf08ae888b02fd3a0a482.tar.xz
pylint ALL THE THINGS!
Diffstat (limited to 'build.py')
-rw-r--r--build.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/build.py b/build.py
index 3666419..b13c3d4 100644
--- a/build.py
+++ b/build.py
@@ -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():