Skip to content

Commit

Permalink
move validation before uncommitted check because validation output is…
Browse files Browse the repository at this point in the history
… too long
  • Loading branch information
Seth Schoen committed Dec 14, 2010
1 parent 0b32cb9 commit 78fdd98
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions makexpi.sh
Expand Up @@ -25,6 +25,14 @@ APP_NAME=https-everywhere

cd "$(dirname $0)"

if ./trivial-validate src/chrome/content/rules >&2
then
echo Validation of included rulesets completed. >&2
else
echo ERROR: Validation of rulesets failed. >&2
exit 1
fi

if [ -n "$1" ] && [ "$1" != "uncommitted" ]; then
VERSION="$1"
TARG="$1"
Expand All @@ -41,14 +49,6 @@ WARNING: Or, use 'makexpi.sh uncommitted' to include them in the build.
fi
fi

if ./trivial-validate src/chrome/content/rules >&2
then
echo Validation of included rulesets completed. >&2
else
echo ERROR: Validation of rulesets failed. >&2
exit 1
fi

XPI_NAME="pkg/$APP_NAME-$VERSION.xpi"
[ -d pkg ] || mkdir pkg

Expand Down

0 comments on commit 78fdd98

Please sign in to comment.