tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Fri, 27 Apr 2018 11:57:15 -0400
changeset 37924 32106c474086
parent 35605 45a816361926
permissions -rw-r--r--
tests: port test-dispatch.py to Python 3 Differential Revision: https://phab.mercurial-scm.org/D3511

#require test-repo jshint hg10

  $ . "$TESTDIR/helpers-testrepo.sh"

run jshint on all tracked files ending in .js except vendored dependencies

  $ cd "`dirname "$TESTDIR"`"

  $ testrepohg locate 'set:**.js' \
  > 2>/dev/null \
  > | xargs jshint