mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Issue #2064 Add package for bazel_tools client_server_testAdd package without underscore or dash to each of the scala-protoc-plugins components (#2077)
Merging as there are no available agents and OSX, Linux and Windows builds have all passed
This commit is contained in:
parent
4ff9a6b7ea
commit
3fb35b37b5
@ -21,7 +21,7 @@ exports_files(["client_input_file"])
|
||||
da_scala_binary(
|
||||
name = "server",
|
||||
srcs = ["server.scala"],
|
||||
main_class = "Main",
|
||||
main_class = "bazeltools.clientservertest.tests.Main",
|
||||
deps = [
|
||||
"//3rdparty/jvm/com/github/scopt",
|
||||
],
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package bazeltools.clientservertest.tests
|
||||
|
||||
import java.net._
|
||||
import java.io._
|
||||
import scala.io._
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package protoc.plugins.akka
|
||||
|
||||
import com.google.protobuf.Descriptors.{MethodDescriptor, ServiceDescriptor}
|
||||
import scalapb.compiler.FunctionalPrinter.PrinterEndo
|
||||
import scalapb.compiler._
|
||||
|
@ -1,5 +1,6 @@
|
||||
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
package protoc.plugins.akka
|
||||
|
||||
import com.google.protobuf.Descriptors._
|
||||
import com.google.protobuf.ExtensionRegistry
|
||||
|
@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
|
||||
da_scala_binary(
|
||||
name = "compiler_plugin",
|
||||
srcs = glob(["*.scala"]),
|
||||
main_class = "AkkaStreamCompilerPlugin",
|
||||
main_class = "protoc.plugins.akka.AkkaStreamCompilerPlugin",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [
|
||||
"@com_github_scalapb_scalapb//:scala-library",
|
||||
|
@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
|
||||
da_scala_binary(
|
||||
name = "compiler_plugin",
|
||||
srcs = ["LoggingCompilerPlugin.scala"],
|
||||
main_class = "LoggingCompilerPlugin",
|
||||
main_class = "protoc.plugins.logging.LoggingCompilerPlugin",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [
|
||||
"@com_github_scalapb_scalapb//:scala-library",
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package protoc.plugins.logging
|
||||
|
||||
import com.google.protobuf.Descriptors.{FileDescriptor, MethodDescriptor, ServiceDescriptor}
|
||||
import com.google.protobuf.ExtensionRegistry
|
||||
import com.google.protobuf.compiler.PluginProtos.{CodeGeneratorRequest, CodeGeneratorResponse}
|
||||
|
@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
|
||||
da_scala_binary(
|
||||
name = "compiler_plugin",
|
||||
srcs = glob(["*.scala"]),
|
||||
main_class = "ScalaPbCompilerPlugin",
|
||||
main_class = "protoc.plugins.scalapb.ScalaPbCompilerPlugin",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [
|
||||
"@com_github_scalapb_scalapb//:scala-library",
|
||||
|
@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package protoc.plugins.scalapb
|
||||
|
||||
import scala.reflect.io.Streamable
|
||||
|
||||
// This file is mostly copied over from ScalaPbCodeGenerator and ProtobufGenerator
|
||||
|
Loading…
Reference in New Issue
Block a user