-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
55 lines (49 loc) · 1.01 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
55
defmodule TFLiteElixir.MixProject do
use Mix.Project
require Logger
@app :tflite_elixir
@version "0.3.7"
@github_url "https://github.com/cocoa-xu/tflite_elixir"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: @github_url,
description: description(),
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:tflite_beam, "~> 0.3.6"},
{:nx, "~> 0.5"},
{:stb_image, "~> 0.6"},
{:ex_doc, "~> 0.27", only: :docs, runtime: false}
]
end
defp description() do
"TensorFlow Lite Elixir binding with optional TPU support."
end
defp package() do
[
name: to_string(@app),
files: ~w(
lib
.formatter.exs
mix.exs
README*
LICENSE*
),
licenses: ["Apache-2.0"],
links: %{"GitHub" => @github_url}
]
end
end