Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Traverse.Mixfile do
use Mix.Project
def project do
[
app: :traverse,
version: "1.0.1",
elixir: "~> 1.9",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
defp description do
"""
Traverse is a toolset to walk arbitrary Elixir Datastructures in a functional way.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: [
"Robert Dober <robert.dober@gmail.com>"
],
licenses: ["Apache 2 (see the file LICENSE)"],
links: %{
"GitHub" => "https://github.com/RobertDober/traverse"
}
]
end
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev},
{:excoveralls, "~> 0.10", only: :test},
{:dialyxir, "~> 0.5", only: [:dev, :test]}
# { :read_doc, "~> 0.1", only: :dev, path: "/home/robert/log/elixir/read_doc" },
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end