Packages

A framework for building chat bots

Current section

Files

Jump to
clover mix.exs
Raw

mix.exs

defmodule Clover.MixProject do
use Mix.Project
@version "0.1.0"
def project do
[
app: :clover,
version: @version,
name: "Clover",
description: description(),
package: package(),
source_url: "https://github.com/wasnotrice/clover",
homepage_url: "https://github.com/wasnotrice/clover",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[extra_applications: [:logger], mod: {Clover, []}, registered: [Clover]]
end
defp deps do
[
{:gen_state_machine, "~> 2.0"},
{:ex_doc, "~> 0.19", only: :dev}
] ++ adapter_deps()
end
def adapter_deps do
_slack = [
{:slack, "~> 0.14.0"}
]
end
def description do
"""
A framework for building chat bots
"""
end
def package do
[
licenses: ["Apache 2.0"],
maintainers: ["Eric Watson"],
links: %{
"Source" => "https://github.com/wasnotrice/clover",
"Issue tracker" => "https://github.com/wasnotrice/clover/issues",
"Homepage" => "https://github.com/wasnotrice/clover"
}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end