mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
28c75df7b8
fix: solve for custom expressions and one-off calculations
34 lines
1.1 KiB
Elixir
34 lines
1.1 KiB
Elixir
import Config
|
|
|
|
if Mix.env() == :dev do
|
|
config :git_ops,
|
|
mix_project: Ash.MixProject,
|
|
changelog_file: "CHANGELOG.md",
|
|
repository_url: "https://github.com/ash-project/ash",
|
|
# Instructs the tool to manage your mix version in your `mix.exs` file
|
|
# See below for more information
|
|
manage_mix_version?: true,
|
|
# Instructs the tool to manage the version in your README.md
|
|
# Pass in `true` to use `"README.md"` or a string to customize
|
|
manage_readme_version: ["README.md", "documentation/tutorials/get-started.md"],
|
|
version_tag_prefix: "v"
|
|
end
|
|
|
|
if Mix.env() == :test do
|
|
config :logger, level: :warning
|
|
|
|
config :ash, :ash_domains, [
|
|
Ash.Test.Flow.Domain,
|
|
Ash.Test.Support.PolicyRbac.Domain,
|
|
Ash.Test.Support.PolicyComplex.Domain,
|
|
Ash.Test.Support.PolicySimple.Domain
|
|
]
|
|
|
|
config :ash, :custom_expressions, [Ash.Test.Expressions.JaroDistance]
|
|
|
|
config :ash, :sat_testing, true
|
|
|
|
config :ash, :validate_domain_resource_inclusion?, false
|
|
config :ash, :validate_domain_config_inclusion?, false
|
|
config :ash, :policies, show_policy_breakdowns?: true
|
|
end
|