Mercurial > hg
view tests/test-check-jshint.t @ 44421:b715432fabba
phabricator: make `hg phabupdate` work outside of a repository
This is similar to 16312ea45a8b- we don't need a repo, but will load .hg/hgrc if
inside one.
Differential Revision: https://phab.mercurial-scm.org/D8208
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 17 Feb 2020 13:14:44 -0500 |
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