forked from phoenixframework/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
58 lines (53 loc) · 1.54 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
for path <- :code.get_path(),
Regex.match?(~r/phx_new\-\d+\.\d+\.\d\/ebin$/, List.to_string(path)) do
Code.delete_path(path)
end
defmodule Phoenix.Integration.MixProject do
use Mix.Project
def project do
[
app: :phoenix_integration,
version: "0.1.0",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: [:logger]
]
end
# IMPORTANT: Dependencies are initially compiled with `MIX_ENV=test` and then
# copied to `_build/dev` to save time. Any dependencies with `only: :dev` set
# will not be copied.
defp deps do
[
{:phx_new, path: "../installer"},
{:phoenix, path: "../", override: true},
{:phoenix_ecto, "~> 4.1"},
{:esbuild, "~> 0.2", runtime: false},
{:ecto_sql, "~> 3.5"},
{:postgrex, ">= 0.0.0"},
{:myxql, ">= 0.0.0"},
{:tds, ">= 0.0.0"},
{:ecto_sqlite3, ">= 0.0.0"},
{:phoenix_live_view, "~> 0.15.7"},
{:floki, ">= 0.30.0"},
{:phoenix_live_reload, "~> 1.2"},
{:phoenix_live_dashboard, "~> 0.4"},
{:telemetry_metrics, "~> 0.4"},
{:telemetry_poller, "~> 0.4"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:swoosh, "~> 1.3"},
{:plug_cowboy, "~> 2.0"},
{:bcrypt_elixir, "~> 2.0"},
{:argon2_elixir, "~> 2.0"},
{:pbkdf2_elixir, "~> 1.0"}
]
end
end