Current section

Files

Jump to
bot_ex mix.exs
Raw

mix.exs

defmodule BotEx.Mixfile do
use Mix.Project
def project do
[
app: :bot_ex,
description: "Bot development core for Elixir",
version: "1.0.2",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
package: [
licenses: ["MIT"],
homepage_url: "https://github.com/bot-ex",
links: %{"GitHub" => "https://github.com/bot-ex"}
]
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {BotEx.Application, []},
extra_applications: [:logger, :runtime_tools, :timex]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support", "test/test_bot"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:gettext, "~> 0.20"},
{:exprintf, "~> 0.2"},
{:logger_file_backend, "~> 0.0.11"},
{:timex, "~> 3.7"},
{:gen_worker, "~> 0.0.5"},
{:earmark, "~> 1.4", only: :dev},
{:ex_doc, "~> 0.22", only: :dev},
{:deep_merge, "~> 1.0"},
{:jason, "~> 1.3"},
{:httpoison, "~> 1.7"},
{:excoveralls, "~> 0.18", only: :test}
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to create, migrate and run the seeds file at once:
#
# $ mix ecto.setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
test: ["test --no-start"]
]
end
end