-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
35 lines (32 loc) · 723 Bytes
/
mix.exs
File metadata and controls
35 lines (32 loc) · 723 Bytes
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
defmodule Serial.MixProject do
use Mix.Project
def project do
[
app: :serial,
version: "1.0.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
releases: [
# Configuration de la release "serial_prod"
serial_prod: [
include_executables_for: [:unix],
applications: [runtime_tools: :permanent]
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Serial.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_uart, "~> 1.4.3"}
]
end
end