-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
41 lines (37 loc) · 1.13 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
Code.eval_file("mess.exs", (if File.exists?("../../lib/mix/mess.exs"), do: "../../lib/mix/"))
defmodule Bonfire.Files.MixProject do
use Mix.Project
def project do
if System.get_env("AS_UMBRELLA") == "1" do
[
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock"
]
else
[]
end
++
[
app: :bonfire_files,
version: "0.1.0",
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps:
Mess.deps([
{:bonfire_api_graphql,
git: "https://github.com/bonfire-networks/bonfire_api_graphql",
optional: true, runtime: false},
{:image, "~> 0.37", optional: true},
{:evision, "~> 0.1", optional: true},
{:ex_aws_s3, "~> 2.3", optional: true},
{:blurhash, "~> 0.1.0", hex: :rinpatch_blurhash}
])
]
end
def application, do: [extra_applications: [:logger]]
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end