Closed sumio closed 3 years ago
Files generated by ProtocPlugin.debug() based on CodeGeneratorResponse always resides in current working directory. Would you add new debug() having 4 parameters to specify the directory of the generated files?
ProtocPlugin.debug()
CodeGeneratorResponse
debug()
public static void debug( @Nonnull List<Generator> generators, List<GeneratedExtension> extensions, @Nonnull String dumpPath, String outputDir) { ... }
It would be useful in case of calling debug() and verifying file output in test code.
I added a proper unit testing workflow in 1.2.0.
Files generated by
ProtocPlugin.debug()
based onCodeGeneratorResponse
always resides in current working directory. Would you add newdebug()
having 4 parameters to specify the directory of the generated files?It would be useful in case of calling
debug()
and verifying file output in test code.