changeset 286:2eb392a59621

-Added a couple of scripts to run cpplint.py on everything (apart from 3rd party imports) and to build and install the python module
author tomwalters
date Fri, 19 Feb 2010 14:19:32 +0000
parents 3ef86b0f8202
children 4b3a43b543dd
files trunk/build_python_module.sh trunk/lint_all.sh
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/build_python_module.sh	Fri Feb 19 14:19:32 2010 +0000
@@ -0,0 +1,5 @@
+#!/bin/bash
+cd swig
+python setup.py "build_ext"
+python setup.py install
+cd ..
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trunk/lint_all.sh	Fri Feb 19 14:19:32 2010 +0000
@@ -0,0 +1,3 @@
+#!/bin/bash
+find -E . -iregex ".*\.(h|cc|c)" | grep -v "ConvertUTF" | grep -v "SimpleIni" | xargs lint/cpplint.py
+