Chromium Code Reviews
DescriptionDevTools: dtrun CLI helper
This introduces a small CLI wrapper (dtrun) around devtools npm commands.
For example, doing "dtrun lint" forwards the command to
"npm run lint" as defined in Source/devtools/package.json
One-time setup:
npm run setup-dtrun
Benefits:
1) Can run npm commands anywhere in the chromium repo (not just in devtools subtree)
2) No longer need to pass in the delimiter "--" before the flags
Note: Works on Linux and Mac, but no on Windows
BUG=682327
Review-Url: https://codereview.chromium.org/2637113003
Cr-Commit-Position: refs/heads/master@{#444573}
Committed: https://chromium.googlesource.com/chromium/src/+/67d828ef9b351a52fde60df3bf0cc1326bf2fd69
Patch Set 1 #Patch Set 2 : better err msg #Patch Set 3 : rename file #
Messages
Total messages: 21 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||