-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
mix.exs
43 lines (38 loc) · 1 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
defmodule BasicProject.MixProject do
use Mix.Project
@app :basic_project
@version "0.1.0"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Gleam compilation config
compilers: [:gleam | Mix.compilers()],
archives: [mix_gleam: "~> 0.6"],
aliases: ["deps.get": ["deps.get", "gleam.deps.get"]],
erlc_paths: [
"build/dev/erlang/#{@app}/_gleam_artefacts",
"build/dev/erlang/#{@app}/build"
],
erlc_include_path: "build/dev/erlang/#{@app}/include",
prune_code_paths: false
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:mix_gleam, path: "../../"}
{:gleam_stdlib, "~> 0.34 or ~> 1.0"},
{:gleeunit, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
end