Uh oh!
There was an error while loading. Please reload this page.
Added support for generic NativeCmd step - #949
Conversation
tisoft
commented
Sep 24, 2021
Would like to use this, to call a custom formatter, that is installed locally, but can't be added as a "real" formatter into spotless. TODO: Support writing the unformatted string to a temp file and read it back from another (or the same) file |
nedtwigg
left a comment
There was a problem hiding this comment.
Cool feature, needs docs and changelog entries (root and plugin-maven).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This feature is best left unimplemented, imo. stdin/stdout are perfectly suited for this purpose. Unless you absolutely, unavoidably need filebased-IO for a usecase you have right now, I think we're better off leaving this out. 100% guarantee people waste hours fiddling with the filename, whether its local or relative, tools that don't flush filesystem cache, etc, not to mention performance. |
af664dc to
b59caa6Comparetisoft
commented
Sep 25, 2021
|
nedtwigg
commented
Sep 26, 2021
Please merge the latest |
b59caa6 to
e32fcbdComparee32fcbd to
7bf5ec0Comparetisoft
commented
Sep 27, 2021
@nedtwigg rebased against main and fixed one copyright date. The test failure seems unrelated to me. |
Uh oh!
There was an error while loading. Please reload this page.
nedtwigg
commented
Sep 27, 2021
Agree re: test faillure. I would merge if there wasn't low-hanging fruit re: the absolute path. |
nedtwigg
commented
Sep 27, 2021
Published in |
Maven support had been added in diffplug#949.
Maven support had been added in diffplug#949.
Allows to call locally installed binaries to format files