Skip to content

Commit 4e05f3f

Browse files
author
Adriano Santos
committed
chore: separating client and server into two distinct packages (wow commit)
1 parent 70e5cf7 commit 4e05f3f

File tree

2,475 files changed

+133817
-750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,475 files changed

+133817
-750
lines changed

.formatter.exs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
[
2-
inputs: [
3-
"{mix,.formatter}.exs",
4-
"{config,lib,test}/**/*.{ex,exs}",
5-
"examples/*/{config,lib,priv}/*.ex"
6-
],
7-
import_deps: [:protobuf],
8-
locals_without_parens: [rpc: 3, intercept: 1, intercept: 2, run: 1, run: 2],
9-
export: [
10-
locals_without_parens: [rpc: 3, intercept: 1, intercept: 2, run: 1, run: 2]
11-
]
12-
]
1+
[subdirectories: ["grpc_core", "grpc_server", "grpc_client"]]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ endif
1313

1414
test-prepare:
1515
mix deps.get
16-
cd interop && mix deps.get
16+
cd grpc_server/interop && mix deps.get
1717

1818
test-all:
1919
mix test
20-
cd interop && mix run script/run.exs
20+
cd grpc_server/interop && mix run script/run.exs
2121

2222
.PHONY: test release test-prepare test-all ci-cron
100 Bytes
Binary file not shown.

_build/dev/lib/grpc/.mix/format_timestamp

Whitespace-only changes.
1020 Bytes
Binary file not shown.

_build/dev/lib/grpc_root/.mix/compile.lock

Whitespace-only changes.

_build/dev/lib/grpc_root/.mix/format_timestamp

Whitespace-only changes.

benchmark/.formatter.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Used by "mix format"
21
[
32
inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"],
4-
import_deps: [:protobuf, :grpc]
3+
import_deps: [:protobuf, :grpc_server, :grpc_client]
54
]

benchmark/config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import Config
22

33
config :logger, level: :info
44

5-
import_config "#{Mix.env}.exs"
5+
import_config "#{Mix.env()}.exs"

benchmark/lib/benchmark/client_worker.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ defmodule Benchmark.ClientWorker do
33
use GenServer
44

55
def init(args) do
6+
{:ok, _pid} = GRPC.Client.Supervisor.start_link()
67
send(self(), :start)
78
{:ok, args}
89
end

0 commit comments

Comments
 (0)