2022-03-24 16:00:36 +13:00
|
|
|
import Config
|
2020-06-01 17:19:51 +12:00
|
|
|
|
2023-03-29 15:38:50 +13:00
|
|
|
config :ash,
|
2023-10-25 05:27:33 +13:00
|
|
|
flags: [
|
2024-02-02 11:09:34 +13:00
|
|
|
ash_three?: System.get_env("ASH_THREE", "false") == "true"
|
2023-10-25 05:27:33 +13:00
|
|
|
]
|
2023-03-29 15:38:50 +13:00
|
|
|
|
2020-06-02 14:09:26 +12:00
|
|
|
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
|
2024-01-04 18:57:55 +13:00
|
|
|
manage_readme_version: ["README.md", "documentation/tutorials/get-started.md"],
|
2020-06-02 14:09:26 +12:00
|
|
|
version_tag_prefix: "v"
|
|
|
|
end
|
2022-10-19 08:26:42 +13:00
|
|
|
|
|
|
|
if Mix.env() == :test do
|
|
|
|
config :ash, :ash_apis, [
|
|
|
|
Ash.Test.Flow.Api,
|
|
|
|
Ash.Test.Support.PolicyRbac.Api,
|
|
|
|
Ash.Test.Support.PolicyComplex.Api,
|
|
|
|
Ash.Test.Support.PolicySimple.Api
|
|
|
|
]
|
2023-07-13 17:38:21 +12:00
|
|
|
|
|
|
|
config :ash, :validate_api_resource_inclusion?, false
|
2023-07-14 00:42:52 +12:00
|
|
|
config :ash, :validate_api_config_inclusion?, false
|
2022-10-19 08:26:42 +13:00
|
|
|
end
|