-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
37 lines (33 loc) · 946 Bytes
/
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
defmodule EcommerceUser.MixProject do
use Mix.Project
def project do
[
app: :ecommerce_user,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {EcommerceUser.Main, []},
extra_applications: [:logger , :grpc]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:grpc, github: "elixir-grpc/grpc"},
# 2.9.0 fixes some important bugs, so it's better to use ~> 2.9.0
{:cowlib, "~> 2.9.0", override: true},
{:ecto_sql, "~> 3.0"},
{:postgrex, ">= 0.0.0"},
{:bcrypt_elixir, "~> 2.0"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end