gecko-dev/tools/lint
Nick Alexander 6df6c7ee39 Bug 1543247 - Part 1: Add mach browsertime command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework.  The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install.  This mach command is intended to be leverage
for getting more folks able to use browsertime easily.

In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles.  If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.

I elected to piggy-back install on the eslint installation process,
since this is very similar.  To that end, I generalized what was there
very slightly.  I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from.  In particular I wasn't certain the code could rely on a
complete mozbuild checkout.

I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago.  At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary.  There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.

Differential Revision: https://phabricator.services.mozilla.com/D26820

--HG--
extra : moz-landing-system : lando
2019-05-03 22:44:23 +00:00
..
cpp
docs Bug 1353680, create test to prevent bad content in localizable strings, r=ahal,flod 2019-05-02 10:50:43 +00:00
eslint Bug 1543247 - Part 1: Add mach browsertime command that installs and invokes browsertime. r=Standard8,ahal 2019-05-03 22:44:23 +00:00
python Bug 1353680, create test to prevent bad content in localizable strings, r=ahal,flod 2019-05-02 10:50:43 +00:00
shell
spell
test
tox
wpt
yamllint_
codespell.yml Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike 2019-04-23 17:36:40 +00:00
cpp-virtual-final.yml
eslint.yml Bug 1537622 - add rudimentary support for linting XUL files, r=Standard8 2019-04-05 12:40:23 +00:00
flake8.yml
hooks.py
hooks_clang_format.py Bug 1542629 - clang-format git hook: Ignore unsupported extensions directly in the hook r=sheehan 2019-04-08 16:18:54 +00:00
l10n.yml Bug 1353680, create test to prevent bad content in localizable strings, r=ahal,flod 2019-05-02 10:50:43 +00:00
mach_commands.py
mingw-capitalization.yml
py2.yml
py3.yml
shellcheck.yml
test-disable.yml
wpt.yml
yaml.yml