sapling/tests/test-check-jshint.t
Durham Goode 9b9a988499 hg: drop hg10 requirement for jshint and pylint
Summary:
Just drops the hg10 requirement since version numbers work differently
in our repo.  These still don't run unless you have the appropriate jshint and
pylint programs installed (which I don't).

Reviewed By: quark-zju

Differential Revision: D6802387

fbshipit-source-id: bdfda8257c358b3a6db839aa130b555124c8ef04
2018-04-13 21:50:56 -07:00

13 lines
293 B
Perl

#require test-repo jshint
$ . "$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