forked from elixir-grpc/grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (47 loc) · 1.57 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
defmodule GRPC.Mixfile do
use Mix.Project
@version "0.1.0"
def project do
[app: :grpc,
version: @version,
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
description: "The Elixir implementation of gRPC",
docs: [extras: ["README.md"], main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/tony612/grpc-elixir"]]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:lager, :logger, :protobuf, :chatterbox, :cowboy]]
end
defp deps do
[{:protobuf, "~> 0.3"},
# TODO
# https://github.com/joedevivo/chatterbox/issues/57
# https://github.com/joedevivo/chatterbox/issues/93
# https://github.com/joedevivo/chatterbox/pull/114
# https://github.com/joedevivo/chatterbox/pull/115
{:chatterbox, github: "tony612/chatterbox", branch: "my-fix"},
# TODO
# https://github.com/ninenines/cowboy/pull/1020
# https://github.com/ninenines/cowboy/pull/1068
{:cowboy, github: "tony612/cowboy", branch: "my-fix"},
{:ex_doc, "~> 0.14", only: :dev},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp package do
%{maintainers: ["Tony Han"],
licenses: ["Apache 2"],
links: %{"GitHub" => "https://github.com/tony612/grpc-elixir"}}
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end