diff --git a/.pypt/config b/.pypt/config index 3e55aa8..4a06c27 100644 --- a/.pypt/config +++ b/.pypt/config @@ -19,3 +19,6 @@ LOCALETYPE="gettext-tx" # Python versions supported. PYTHON2=0 PYTHON3=1 + +# Whether or not to create AUR -git packages. (true/false) +AUR_GIT_PACKAGE="true" diff --git a/release b/release index b559fc0..57a854a 100755 --- a/release +++ b/release @@ -149,15 +149,15 @@ status 'Generating locales...' status 'Importing...' python -c "import $PROJECTLC" -if [[ $? == 1 ]]; then +if [[ $? != 0 ]]; then error "Import failed. Fix your code or don't come back." exit 1 fi if [[ -e tests ]]; then status 'Running tests...' - py.test tests/ - if [[ $? == 1 ]]; then + pytest tests/ + if [[ $? != 0 ]]; then error "Tests failed. Fix your code or don't come back." exit 1 fi