view tests/test-check-jshint.t @ 39519:5d69e2412ec8

shelve: use the internal phase when possible If the repository support it, use the internal phase for all changesets created by shelve.
author Boris Feld <boris.feld@octobus.net>
date Tue, 29 May 2018 12:12:18 +0200
parents 45a816361926
children
line wrap: on
line source

#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