2023-09-23 14:52:22 +12:00
|
|
|
import Config
|
|
|
|
|
|
|
|
if Mix.env() == :dev do
|
|
|
|
config :git_ops,
|
|
|
|
mix_project: AshSqlite.MixProject,
|
|
|
|
changelog_file: "CHANGELOG.md",
|
|
|
|
repository_url: "https://github.com/ash-project/ash_sqlite",
|
|
|
|
# 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-05-04 14:03:59 +12:00
|
|
|
manage_readme_version: [
|
|
|
|
"README.md",
|
|
|
|
"documentation/tutorials/getting-started-with-ash-sqlite.md"
|
|
|
|
],
|
2023-09-23 14:52:22 +12:00
|
|
|
version_tag_prefix: "v"
|
|
|
|
end
|
|
|
|
|
|
|
|
if Mix.env() == :test do
|
2024-04-02 05:18:42 +13:00
|
|
|
config :ash, :validate_domain_resource_inclusion?, false
|
|
|
|
config :ash, :validate_domain_config_inclusion?, false
|
2023-09-23 14:52:22 +12:00
|
|
|
|
|
|
|
config :ash_sqlite, AshSqlite.TestRepo,
|
2023-09-23 17:32:12 +12:00
|
|
|
database: Path.join(__DIR__, "../test/test.db"),
|
|
|
|
pool_size: 1,
|
|
|
|
migration_lock: false,
|
|
|
|
pool: Ecto.Adapters.SQL.Sandbox,
|
2023-09-23 14:52:22 +12:00
|
|
|
migration_primary_key: [name: :id, type: :binary_id]
|
|
|
|
|
|
|
|
config :ash_sqlite,
|
2023-09-23 17:32:12 +12:00
|
|
|
ecto_repos: [AshSqlite.TestRepo],
|
2024-04-02 05:18:42 +13:00
|
|
|
ash_domains: [
|
|
|
|
AshSqlite.Test.Domain
|
2023-09-23 14:52:22 +12:00
|
|
|
]
|
|
|
|
|
|
|
|
config :logger, level: :warning
|
|
|
|
end
|