DescriptionMake "git cl format" format GN files.
Always formats full GN files that are modified since the format should
be canonical.
I tried to make it consistent in style with the existing formatters. I've
tested running it locally. For "git cl format" it formats GN files. For
"git cl format --diff" it outputs the full formatted files like clang but
doesn't modify. For "git cl format --dry-run" it doesn't modify or output.
TEST=Works running locally.
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298617
Patch Set 1 #Messages
Total messages: 17 (8 generated)
|