-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
32 lines (27 loc) · 744 Bytes
/
Copy pathmix.exs
File metadata and controls
32 lines (27 loc) · 744 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
defmodule AtomvmHttpd.MixProject do
use Mix.Project
def project do
[
app: :atomvm_httpd,
version: "0.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
compilers: Mix.compilers(),
erlc_paths: ["src"],
elixirc_paths: elixirc_paths(Mix.env()),
erlc_options: erlc_options(Mix.env()),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp deps, do: []
defp erlc_options(:test), do: [:debug_info, {:d, :TEST}]
defp erlc_options(_env), do: [:debug_info]
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
end