Packages

Run tests in a distributed environment (cluster with several nodes). The code is based on the `distributed_test` by Sam Schneider (credits!)

Current section

Files

Jump to
Raw

mix.exs

defmodule TestClusterTask.Mixfile do
use Mix.Project
@app :test_cluster_task
@version "0.5.0"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
preferred_cli_env: [{:"test.cluster", :test}],
description: description(),
package: package(),
deps: deps(),
docs: docs()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[{:ex_doc, "~> 0.14", only: :dev}]
end
defp description do
"""
Run tests in a distributed environment (cluster with several nodes).
The code is based on the `distributed_test` by Sam Schneider (credits!)
"""
end
defp package do
[
name: @app,
files: ~w|config lib mix.exs README.md|,
maintainers: ["Aleksei Matiushkin"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/am-kantox/#{@app}",
"Docs" => "https://hexdocs.pm/#{@app}"
}
]
end
defp docs do
[
# main: "intro",
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/#{@app}",
# logo: "stuff/images/logo.png",
source_url: "https://github.com/am-kantox/#{@app}",
# assets: "stuff/images",
extras: [
"README.md"
],
groups_for_modules: []
]
end
end