tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Mon, 20 Nov 2017 18:00:02 -0500
changeset 35126 7ea56f5700b8
parent 35066 5d4369079c86
child 35605 45a816361926
permissions -rw-r--r--
setup: add hgext.lfs to list of Python packages This is needed for lfs to get installed. Probably could stand to go into an earlier patch, but I just want to get this stuff pushed.

#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' \
  > -X mercurial/templates/static/excanvas.js \
  > 2>/dev/null \
  > | xargs jshint