mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 19:57:18 +03:00
9b9a988499
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
13 lines
293 B
Perl
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
|