1
0
mirror of https://github.com/rancher/os.git synced 2025-09-04 08:14:21 +00:00

Bump codegangsta/cli

This commit is contained in:
Josh Curl
2016-08-09 15:16:45 -07:00
parent c67475cbaa
commit 6658917591
11 changed files with 1240 additions and 219 deletions

View File

@@ -18,7 +18,8 @@ def main(sysargs=sys.argv[:]):
targets = {
'vet': _vet,
'test': _test,
'gfmxr': _gfmxr
'gfmxr': _gfmxr,
'toc': _toc,
}
parser = argparse.ArgumentParser()
@@ -62,6 +63,11 @@ def _vet():
_run('go vet ./...'.split())
def _toc():
_run(['node_modules/.bin/markdown-toc', '-i', 'README.md'])
_run(['git', 'diff', '--quiet'])
def _run(command):
print('runtests: {}'.format(' '.join(command)), file=sys.stderr)
check_call(command)