-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
38 lines (35 loc) · 1.03 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
Code.eval_file("mess.exs", (if File.exists?("../../lib/mix/mess.exs"), do: "../../lib/mix/"))
defmodule Bonfire.Posts.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_posts,
version: "0.1.0",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps:
Mess.deps([
{:bonfire_me,
git: "https://github.com/bonfire-networks/bonfire_me",
optional: true, runtime: false},
{:bonfire_api_graphql,
git: "https://github.com/bonfire-networks/bonfire_api_graphql",
optional: true, runtime: false},
{:absinthe, "~> 1.7", optional: true}
])
]
end
# Run "mix help compile.app" to learn about applications.
def application, do: [extra_applications: [:logger]]
end