mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-25 13:58:43 +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
|
||||
]
|
||||
|
||||
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,
|
||||
title: "Bonfire UI",
|
||||
subtitle: "Surface Components Documentation & Examples"
|
||||
|
|
|
@ -346,13 +346,14 @@ if not Code.ensure_loaded?(Bonfire.Mixer) do
|
|||
# end
|
||||
|
||||
def compilers(_) do
|
||||
# [:tria] ++
|
||||
Mix.compilers()
|
||||
end
|
||||
|
||||
def catalogues(_env) do
|
||||
[
|
||||
"deps/surface/priv/catalogue",
|
||||
dep_path("bonfire_ui_social") <> "/priv/catalogue"
|
||||
dep_path("bonfire_ui_common") <> "/priv/catalogue"
|
||||
]
|
||||
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...")
|
||||
|
||||
@extra_deps [
|
||||
# compilation
|
||||
# {:tria, github: "hissssst/tria"},
|
||||
|
||||
## password hashing - builtin vs nif
|
||||
{:pbkdf2_elixir, "~> 2.0", only: [:dev, :test]},
|
||||
{:argon2_elixir, "~> 3.0", only: [:prod]},
|
||||
|
@ -186,6 +189,7 @@ defmodule Bonfire.Umbrella.MixProject do
|
|||
test_paths: Mixer.test_paths(config()),
|
||||
# test_deps: Mixer.deps(config(), :test) |> IO.inspect(),
|
||||
required_deps: config()[:deps_prefixes][:required],
|
||||
# consolidate_protocols: false, # for Tria
|
||||
compilers: Mixer.compilers(Mix.env()),
|
||||
start_permanent: Mix.env() == :prod,
|
||||
aliases: aliases(),
|
||||
|
|
Loading…
Reference in a new issue