Packages

Multitasks are processes meant to execute several functions asynchronously, and collect their return values when they are done processing or the error of the first failure.

Retired package: Deprecated

Current section

Files

Jump to
multitask mix.exs
Raw

mix.exs

defmodule Multitask.Mixfile do
use Mix.Project
@version "0.1.0"
def project do
[
app: :multitask,
name: "Multitask",
version: @version,
elixir: "~> 1.4",
deps: deps(),
package: package(),
preferred_cli_env: [docs: :docs, inch: :docs],
description: description(),
docs: docs()
]
end
def application do
[
extra_applications: []
]
end
defp deps do
[
{:credo, "~> 0.8.6", only: :dev, runtime: false},
{:ex_doc, "~> 0.16", only: :docs, runtime: false},
{:inch_ex, ">= 0.0.0", only: :docs, runtime: false}
]
end
defp description do
"""
Multitasks are processes meant to execute several functions asynchronously, and collect
their return values when they are done processing or the error of the first failure.
"""
end
defp package do
[
maintainers: ["Fernando Tapia Rico"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/fertapric/multitask"},
files: ~w(mix.exs README.md lib)
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "Multitask",
canonical: "http://hexdocs.pm/multitask",
source_url: "https://github.com/fertapric/multitask"
]
end
end