-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
54 lines (49 loc) · 1.07 KB
/
mix.exs
File metadata and controls
54 lines (49 loc) · 1.07 KB
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
defmodule Mangle.MixProject do
use Mix.Project
def project do
[
app: :mangle,
version: "1.1.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript(),
releases: releases()
]
end
defp escript do
[
main_module: Mangle.CLI
]
end
defp releases do
[
mangle: [
steps: [:assemble, &Burrito.wrap/1],
burrito: [
targets: [
macos: [os: :darwin, cpu: :x86_64],
macos_silicon: [os: :darwin, cpu: :aarch64],
linux: [os: :linux, cpu: :x86_64],
windows: [os: :windows, cpu: :x86_64]
]
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
# mod: {Mangle.CLI, []},
extra_applications: [:logger, :runtime_tools, :tools]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ergo, "~> 1.0"},
{:burrito, "~> 1.5.0"},
{:propcheck, "~> 1.4", only: [:test, :dev]}
]
end
end