-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
42 lines (35 loc) · 1.04 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
# Setting for Evision to use the precompiled version
# Remove if you use a platform on which Evision does not provide a pre-compiled library.
# System.put_env("EVISION_PREFER_PRECOMPILED", "true")
System.put_env("EVISION_PRECOMPILED_CACHE_DIR", "#{System.user_home!()}/.cache")
defmodule SpawnDistributedImageProcessing.MixProject do
use Mix.Project
@app :spawn_distributed_image_processing
@version "0.1.0"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {SpawnDistributedImageProcessing.Application, []}
]
end
defp deps do
[
{:spawn_sdk, "~> 0.5.0-alpha.5"},
{:spawn_statestores_mysql, "~> 0.5.0-alpha.5"},
{:uniq, "~> 0.5.3"},
{:nx, "~> 0.3"},
{:exla, "~> 0.3"},
{:evision, "~> 0.1.2", github: "cocoa-xu/evision", tag: "v0.1.2"}
]
end
end