Closed Bug 1508635 Opened 7 years ago Closed 7 years ago

mach clang-format should be able to print the back the file that has been reformatted

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement
Not set
normal

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: andi, Assigned: andi)

References

Details

Attachments

(1 file)

Since we want to integrate bug 1507711 we need to have a way on outputting from 'mach clang-format' only the file that has been reformatted. The scope of this bug is to add a new parameter to 'mach clang-format', '--raw-output' that is used per a single file basis and pushes back to 'stdout' the contents of the formatted file.
Depends on: 1509276
Pushed by bpostelnicu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd219dda36e8 mach clang-format should be able to print back the file that has been reformatted to stdin, suitable when it ise used with 3rd party tools for merging. r=sylvestre
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: