Packages

Dawdle weaponizes Amazon SQS for use in your Elixir applications. Use it when you want to handle something later, or, better yet, when you want someone else to handle it.

Current section

Files

Jump to
dawdle mix.exs
Raw

mix.exs

defmodule Dawdle.MixProject do
use Mix.Project
@version "0.7.0"
def project do
[
app: :dawdle,
version: @version,
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
source_url: "https://github.com/hippware/dawdle",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test
],
dialyzer: [
flags: [
:error_handling,
:race_conditions,
:underspecs,
:unknown,
:unmatched_returns
],
ignore_warnings: "dialyzer_ignore.exs",
list_unused_filters: true
]
]
end
def application do
[
extra_applications: [:logger],
mod: {Dawdle.Application, []},
env: [
backend: {:system, :module, "DAWDLE_BACKEND", Dawdle.Backend.Local},
start_pollers: {:system, :boolean, "DAWDLE_START_POLLERS", false},
"Elixir.Dawdle.Backend.SQS": [
region: {:system, "DAWDLE_SQS_REGION", "us-west-2"},
queue_url: {:system, "DAWDLE_SQS_QUEUE_URL", ""}
]
]
]
end
defp deps do
[
{:backoff, "~> 1.1"},
{:confex, "~> 3.4"},
{:configparser_ex, "~> 4.0", only: [:dev, :test]},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false},
{:eventually, "~> 1.0", only: :test},
{:ex_aws, "~> 2.0"},
{:ex_aws_sqs, "~> 3.0"},
{:ex_check, ">= 0.0.0", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: [:dev, :test]},
{:excoveralls, "~> 0.10", only: :test},
{:faker, "~> 0.12", only: :test},
{:hackney, "~> 1.7"},
{:mock, "~> 0.3", only: :test},
{:module_config, "~> 1.0"},
{:poison, "~> 3.0 or ~> 4.0"},
{:sweet_xml, "~> 0.6"},
{:telemetry, "~> 0.4.0"}
]
end
defp description do
"""
Dawdle weaponizes Amazon SQS for use in your Elixir applications. Use it
when you want to handle something later, or, better yet, when you want
someone else to handle it.
"""
end
defp package do
[
maintainers: ["Bernard Duggan", "Phil Toland"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/hippware/dawdle"}
]
end
defp docs do
[
source_ref: "v#\{@version\}",
main: "readme",
extras: ["README.md"],
groups_for_modules: [
API: [
Dawdle,
Dawdle.Client,
Dawdle.Handler
],
"Backend Implementation": [
Dawdle.Backend,
Dawdle.Backend.Local,
Dawdle.Backend.SQS,
Dawdle.MessageEncoder,
Dawdle.MessageEncoder.Term
]
]
]
end
end