add call to GenerateProtoBufCompare at the end of GenerateProtoBuf

This commit is contained in:
Michael Nedzelsky
2015-07-30 16:19:01 +03:00
parent 2b19f58d3f
commit 194aa57c07
2 changed files with 5 additions and 0 deletions
@@ -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())
}
}