Basic build-related scripts added.

This commit is contained in:
2013-08-13 14:52:32 -04:00
parent c529c71b86
commit 04c253b6d9
6 changed files with 9 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.pyc

1
jenkins/fabfile.py vendored
View File

@@ -7,6 +7,7 @@ env.user = 'root'
def deploy_clean_jenkins():
run('wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war')
run('cp jenkins.war /var/lib/tomcat7/webapps')
run('chmod -R 0777 /usr/share/tomcat7')
def deploy_scripts():
return

View File

@@ -0,0 +1 @@
**/jasmine*.js,**/jquery*.js,**/angular*.js,**/bootstrap*.js,**/build/**/*.js,**/libs/**/*.js,**/publish/public/js/*.js,**/site/js/plugins.js

1
jenkins/pyflakes.sh Normal file
View File

@@ -0,0 +1 @@
find . -name '*.py'|egrep -v '^./tests/|^./build/'|xargs pyflakes > pyflakes.log || :

4
jenkins/pylint.sh Normal file
View File

@@ -0,0 +1,4 @@
rm -f pylint.log
for f in `find . -name '*.py'|egrep -v '^./tests/|^./build/'`; do
pylint --output-format=parseable --disable=W0311,W0403,W0232,E1101 --generated-members=objects,content,status_code --reports=y $f >> pylint.log
done || :

1
jenkins/sloccount.sh Normal file
View File

@@ -0,0 +1 @@
sloccount --duplicates --wide --details . | fgrep -v build > sloccount.sc || :