mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-05 18:58:44 +00:00
misc
This commit is contained in:
parent
9391cf840b
commit
36b6180853
|
@ -129,6 +129,15 @@ More details at https://bonfirenetworks.org",
|
||||||
section: Bonfire.Pages.Web.EditSectionLive
|
section: Bonfire.Pages.Web.EditSectionLive
|
||||||
]
|
]
|
||||||
|
|
||||||
|
config :bonfire,
|
||||||
|
# used by ActivityLive - TODO: autogenerate?
|
||||||
|
verb_families: [
|
||||||
|
reply: ["Reply", "Respond"],
|
||||||
|
create: ["Create", "Write"],
|
||||||
|
react: ["Like", "Boost", "Flag", "Tag"],
|
||||||
|
simple_action: ["Assign", "Label", "Schedule"]
|
||||||
|
]
|
||||||
|
|
||||||
config :surface_catalogue,
|
config :surface_catalogue,
|
||||||
title: "Bonfire UI",
|
title: "Bonfire UI",
|
||||||
subtitle: "Surface Components Documentation & Examples"
|
subtitle: "Surface Components Documentation & Examples"
|
||||||
|
|
|
@ -346,13 +346,14 @@ if not Code.ensure_loaded?(Bonfire.Mixer) do
|
||||||
# end
|
# end
|
||||||
|
|
||||||
def compilers(_) do
|
def compilers(_) do
|
||||||
|
# [:tria] ++
|
||||||
Mix.compilers()
|
Mix.compilers()
|
||||||
end
|
end
|
||||||
|
|
||||||
def catalogues(_env) do
|
def catalogues(_env) do
|
||||||
[
|
[
|
||||||
"deps/surface/priv/catalogue",
|
"deps/surface/priv/catalogue",
|
||||||
dep_path("bonfire_ui_social") <> "/priv/catalogue"
|
dep_path("bonfire_ui_common") <> "/priv/catalogue"
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
4
mix.exs
4
mix.exs
|
@ -15,6 +15,9 @@ defmodule Bonfire.Umbrella.MixProject do
|
||||||
if @use_umbrella?, do: IO.puts("NOTE: Running as umbrella...")
|
if @use_umbrella?, do: IO.puts("NOTE: Running as umbrella...")
|
||||||
|
|
||||||
@extra_deps [
|
@extra_deps [
|
||||||
|
# compilation
|
||||||
|
# {:tria, github: "hissssst/tria"},
|
||||||
|
|
||||||
## password hashing - builtin vs nif
|
## password hashing - builtin vs nif
|
||||||
{:pbkdf2_elixir, "~> 2.0", only: [:dev, :test]},
|
{:pbkdf2_elixir, "~> 2.0", only: [:dev, :test]},
|
||||||
{:argon2_elixir, "~> 3.0", only: [:prod]},
|
{:argon2_elixir, "~> 3.0", only: [:prod]},
|
||||||
|
@ -186,6 +189,7 @@ defmodule Bonfire.Umbrella.MixProject do
|
||||||
test_paths: Mixer.test_paths(config()),
|
test_paths: Mixer.test_paths(config()),
|
||||||
# test_deps: Mixer.deps(config(), :test) |> IO.inspect(),
|
# test_deps: Mixer.deps(config(), :test) |> IO.inspect(),
|
||||||
required_deps: config()[:deps_prefixes][:required],
|
required_deps: config()[:deps_prefixes][:required],
|
||||||
|
# consolidate_protocols: false, # for Tria
|
||||||
compilers: Mixer.compilers(Mix.env()),
|
compilers: Mixer.compilers(Mix.env()),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
aliases: aliases(),
|
aliases: aliases(),
|
||||||
|
|
Loading…
Reference in a new issue