From e3b92fd5616eed277adc23877140d0957b79e298 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Wed, 12 May 2021 21:03:02 +0200 Subject: [PATCH] Update instructions to run protoc on Windows and Linux --- .../kotlin/generators/protobuf/GenerateProtoBuf.kt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/generators/tests/org/jetbrains/kotlin/generators/protobuf/GenerateProtoBuf.kt b/generators/tests/org/jetbrains/kotlin/generators/protobuf/GenerateProtoBuf.kt index e17cd6d3c1e..e33dfbf3d94 100644 --- a/generators/tests/org/jetbrains/kotlin/generators/protobuf/GenerateProtoBuf.kt +++ b/generators/tests/org/jetbrains/kotlin/generators/protobuf/GenerateProtoBuf.kt @@ -15,11 +15,17 @@ import kotlin.system.exitProcess // This file generates protobuf classes from formal description. // To run it, you'll need protoc (protobuf compiler) 2.6.1 installed. // -// * Windows: download and unpack from here: https://code.google.com/p/protobuf/downloads/list -// * Ubuntu: install "protobuf-compiler" package +// * Windows: +// Download and unpack binaries from here: https://github.com/protocolbuffers/protobuf/releases/tag/v2.6.1 +// * Linux: +// Download and unpack sources from here: https://github.com/protocolbuffers/protobuf/releases/tag/v2.6.1 +// See README for instructions how to compile the project. Basically something like this should work: +// ./autogen.sh +// ./configure +// make +// make install // * macOS: // brew install https://raw.githubusercontent.com/udalov/protobuf261/master/protobuf261.rb -// * You can also download source and build it yourself (https://code.google.com/p/protobuf/downloads/list) // // You may need to provide custom path to protoc executable, just modify this constant: private const val PROTOC_EXE = "protoc"