Skip to content

Commit

Permalink
Update verchew to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Dec 6, 2016
1 parent 4c49733 commit d79233b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
- RANDOM_SEED=0

before_install:
- make doctor || echo "Some system dependencies might be missing"
- make doctor

install:
- make install
Expand Down
8 changes: 5 additions & 3 deletions bin/verchew
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ from collections import OrderedDict
from subprocess import Popen, PIPE, STDOUT
import logging

__version__ = '0.4'
__version__ = '0.5'

PY2 = sys.version_info[0] == 2
CONFIG_FILENAMES = ['.verchew', '.verchewrc', 'verchew.ini', '.verchew.ini']
Expand All @@ -63,7 +63,7 @@ def main():
path = find_config(args.root)
config = parse_config(path)

if not check_dependencies(config):
if not check_dependencies(config) and args.exit_code:
sys.exit(1)


Expand All @@ -75,7 +75,9 @@ def parse_args():
parser.add_argument('-v', '--verbose', action='count', default=0,
help="enable verbose logging")
parser.add_argument('-r', '--root', metavar='PATH',
help="use a custom project root")
help="specify a custom project root directory")
parser.add_argument('--exit-code', action='store_true',
help="return a non-zero exit code on failure")

args = parser.parse_args()

Expand Down

0 comments on commit d79233b

Please sign in to comment.