view tests/test-check-jshint.t @ 45042:c88577199023

procutil: split import and reassignment Besides making the code clearer, it will reduce the diff in the next patch.
author Manuel Jacob <me@manueljacob.de>
date Sat, 04 Jul 2020 11:21:44 +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