-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (42 loc) · 894 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
38
39
40
41
42
43
44
45
46
47
48
defmodule PhoenixBert.Mixfile do
use Mix.Project
@version "1.1.4"
@github "https://github.com/greenboxal/phoenix_bert"
def project do
[
app: :phoenix_bert,
version: @version,
elixir: "~> 1.3",
name: "BERT Phoenix",
description: "BERT encoder/decoder for Phoenix",
package: package(),
deps: deps(),
docs: docs()
]
end
def application, do: []
defp deps do
[
{:bertex, "~> 1.2"},
{:plug, "~> 1.4"},
{:phoenix, "~> 1.3"},
{:ex_doc, "~> 0.15", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp package do
[
licenses: ["MIT"],
maintainers: ["Jonathan Lima"],
links: %{"Github" => @github}
]
end
defp docs do
[
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: @github
]
end
end