ash_oban/config/config.exs

50 lines
1.3 KiB
Elixir
Raw Normal View History

2023-04-22 16:46:04 +12:00
import Config
config :spark, :formatter,
remove_parens?: true,
"Ash.Api": [],
"Ash.Registry": [],
"Ash.Resource": []
2023-04-29 06:03:29 +12:00
if Mix.env() == :test do
config :ash_oban, ecto_repos: [AshOban.Test.Repo]
config :ash_oban, :oban,
testing: :manual,
repo: AshOban.Test.Repo,
prefix: "private",
plugins: [
{Oban.Plugins.Cron, []}
],
queues: [
triggered_process: 10,
triggered_process_2: 10,
triggered_say_hello: 10
]
config :ash_oban, :actor_persister, AshOban.Test.ActorPersister
config :ash_oban, AshOban.Test.Repo,
username: "postgres",
database: "ash_oban_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
end
2023-04-29 06:03:29 +12:00
if Mix.env() == :dev do
config :git_ops,
mix_project: AshOban.MixProject,
changelog_file: "CHANGELOG.md",
repository_url: "https://github.com/ash-project/ash_oban",
# 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-with-ash-oban.md"
],
version_tag_prefix: "v"
end