This commit is contained in:
Mayel de Borniol 2024-02-20 19:51:13 +00:00
parent 68c8b07ae0
commit ad36e86023
2 changed files with 10 additions and 3 deletions

View file

@ -1,8 +1,9 @@
# needed here for CI
# these are copied from deps.hex and needed here for CI
floki = "~> 0.33"
phoenix = "~> 1.7.0"
phoenix_live_view = "~> 0.20.7" # usually should let surface decide the version
plug_crypto = "~> 2.0" # newer crypto for plug/phoenix
sourceror = "~> 1.0.0"
# Data Schemas
# bonfire_data_access_control = "~> 0.1"

View file

@ -126,10 +126,16 @@ if not Code.ensure_loaded?(Bonfire.Mixer) do
defp mess_source_files("0", "0"),
do: [[hex: "deps.flavour.hex"], [hex: "deps.hex"]]
defp mess_source_files("0", _),
defp mess_source_files("0", "1"),
do: [[git: "deps.flavour.git", hex: "deps.flavour.hex"], [git: "deps.git", hex: "deps.hex"]]
defp mess_source_files(_, _),
defp mess_source_files("1", "0"),
do: [
[path: "deps.flavour.path", hex: "deps.flavour.hex"],
[path: "deps.path", hex: "deps.hex"]
]
defp mess_source_files("1", "1"),
do: [
[path: "deps.flavour.path", git: "deps.flavour.git", hex: "deps.flavour.hex"],
[path: "deps.path", git: "deps.git", hex: "deps.hex"]