From 3a149ecd03f6e496164adaff53b7fd4d3fea03f7 Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Sun, 30 Jul 2017 18:02:50 +0200 Subject: [PATCH] Update PyPT Signed-off-by: Chris Warrick --- .pypt/config | 3 +++ release | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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