quality.sh 336 Bytes
Newer Older
1 2
#! /bin/bash

3 4 5
set -e
set -x

6 7
git remote prune origin

8 9 10 11 12 13 14 15
# Reset the submodule, in case it changed
git submodule foreach 'git reset --hard HEAD'

# Set the IO encoding to UTF-8 so that askbot will start
export PYTHONIOENCODING=UTF-8

rake clobber
rake pep8 || echo "pep8 failed, continuing"
16
rake pylint || echo "pylint failed, continuing"