Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Dogma.Mixfile do
use Mix.Project
@version "0.0.5"
def project do
[
app: :dogma,
version: @version,
elixir: "~> 1.0",
deps: deps,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
name: "Dogma",
source_url: "https://github.com/lpil/dogma",
description: "A code style linter for Elixir, powered by shame.",
package: [
contributors: ["Louis Pilfold"],
licenses: ["MIT"],
links: %{ "GitHub" => "https://github.com/lpil/dogma" },
files: files
]
]
end
def application do
[
applications: []
]
end
def files do
~w(
LICENCE
README.md
lib/dogma
lib/mix/tasks/dogma.ex
mix.exs
)
end
defp deps do
[
# Test framework
{:shouldi, only: :test},
# Test coverage checker
{:excoveralls, only: ~w(dev test)a},
# Automatic test runner
{:mix_test_watch, only: :dev},
# Benchmark framework
{:benchfella, "~> 0.2", only: :dev},
# Documentation checker
{:inch_ex, only: ~w(dev test docs)a},
# Markdown processor
{:earmark, "~> 0.1", only: :dev},
# Documentation generator
{:ex_doc, "~> 0.7", only: :dev},
# JSON encoder
{:poison, "~>1.5"},
]
end
end