Current section

Files

Jump to
igor mix.exs
Raw

mix.exs

defmodule Igor.MixProject do
use Mix.Project
def project do
[
app: :igor,
description: "Bot framework for Matrix.org",
version: "0.3.1",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
# Docs
name: "Igor",
source_url: "https://gitlab.com/uhoreg/igor",
# homepage_url: "https://www.uhoreg.ca/programming/matrix/igor",
docs: [
# The main page in the docs
main: "readme",
# logo: "path/to/logo.png",
extras: ["README.md"]
],
package: [
maintainers: ["Hubert Chathi"],
licenses: ["Apache-2.0"],
links: %{
"Source" => "https://gitlab.com/uhoreg/igor"
}
],
# Tests
test_coverage: [
ignore_modules: [
DummyClient,
Polyjuice.Client.API.DummyClient,
Mix.Tasks.Igor.Run
],
summary: [threshold: 0]
]
]
end
def application do
[
extra_applications: [:logger, :hackney]
]
end
defp deps do
[
{:ex_doc, "~> 0.38", only: :dev, runtime: false},
{:hackney, "~> 1.12"},
{:html5ever, "~> 0.15.0"},
{:polyjuice_client, "~> 0.4.0"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end