Suppress redefining module warnings via compiler_options

This commit is contained in:
Moritz 2026-03-03 16:48:02 +01:00
parent edd8657c92
commit f0a8dfcc21
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@
# Bootstrap runs in all environments. Dev seeds (members, groups, sample data)
# run only in dev and test.
Code.compiler_options(ignore_module_conflict: true)
# Always run bootstrap (fee types, custom fields, roles, admin, system user, settings)
Code.eval_file("priv/repo/seeds_bootstrap.exs")
@ -14,3 +16,4 @@ if Mix.env() in [:dev, :test] do
end
IO.puts("✅ All seeds completed.")
Code.compiler_options(ignore_module_conflict: false)