add call to GenerateProtoBufCompare at the end of GenerateProtoBuf
This commit is contained in:
@@ -66,6 +66,7 @@ fun main(args: Array<String>) {
|
||||
execProtoc(protoPath.file, protoPath.outPath)
|
||||
modifyAndExecProtoc(protoPath)
|
||||
}
|
||||
GenerateProtoBufCompare.generate()
|
||||
}
|
||||
catch (e: Throwable) {
|
||||
e.printStackTrace()
|
||||
|
||||
@@ -32,6 +32,10 @@ class GenerateProtoBufCompare {
|
||||
|
||||
platformStatic
|
||||
fun main(args: Array<String>) {
|
||||
generate()
|
||||
}
|
||||
|
||||
fun generate() {
|
||||
GeneratorsFileUtil.writeFileIfContentChanged(DEST_FILE, GenerateProtoBufCompare().generate())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user