tests/test-check-jshint.t
author Boris Feld <boris.feld@octobus.net>
Thu, 18 Jan 2018 14:21:05 +0100
changeset 36968 95f4f1bfb650
parent 35605 45a816361926
permissions -rw-r--r--
revbranchcache: add a public function to update the data We want to exchange more cached data over the wire. To do so, we need a clean way to update the cache on the receiving ends.

#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