-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmix.exs
42 lines (37 loc) · 911 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
defmodule ShorterMaps.Mixfile do
use Mix.Project
@version "2.2.5"
@repo_url "https://github.com/meyercm/shorter_maps"
def project do
[
app: :shorter_maps,
version: @version,
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex
package: hex_package(),
description: "~M sigil for map shorthand. `~M{id, name} ~> %{id: id, name: name}`",
# Docs
name: "ShorterMaps",
# Testing
preferred_cli_env: [espec: :test],
]
end
def application do
[applications: []]
end
defp hex_package do
[maintainers: ["Chris Meyer"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:espec, "~> 1.2", only: [:dev, :test]},
]
end
end