mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-01 08:48:44 +00:00
Add ENABLE_IMAGE_VIX env
This commit is contained in:
parent
9aa006fef8
commit
783408d3b5
|
@ -77,6 +77,7 @@ if not Code.ensure_loaded?(Mess) do
|
|||
defp deps_uniq(packages, opts),
|
||||
do:
|
||||
packages
|
||||
|> Enum.reject(&is_nil/1)
|
||||
# |> IO.inspect(label: "non-unique")
|
||||
|> maybe_filter_invalid_paths(opts)
|
||||
|> Enum.uniq_by(&elem(&1, 0))
|
||||
|
|
6
mix.exs
6
mix.exs
|
@ -32,8 +32,14 @@ defmodule Bonfire.Umbrella.MixProject do
|
|||
else: []
|
||||
)
|
||||
|
||||
@maybe_image_vix if(System.get_env("ENABLE_IMAGE_VIX") != "0",
|
||||
do: [{:image, "~> 0.37", runtime: true, override: true}],
|
||||
else: []
|
||||
)
|
||||
|
||||
@extra_deps @main_deps ++
|
||||
@maybe_api_deps ++
|
||||
@maybe_image_vix ++
|
||||
[
|
||||
{:ex_aws, git: "https://github.com/bonfire-networks/ex_aws", override: true},
|
||||
# compilation
|
||||
|
|
Loading…
Reference in a new issue