forked from meyercm/shorter_maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
38 lines (33 loc) · 873 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
defmodule ShortMaps.Mixfile do
use Mix.Project
@version "1.1.0"
@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",
docs: [source_ref: "v#{@version}", main: "ShorterMaps", source_url: @repo_url]
]
end
def application do
[applications: []]
end
defp hex_package do
[maintainers: ["Chris Meyer"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}]
end
defp deps do
[{:earmark, ">= 0.0.0", only: :docs},
{:ex_doc, ">= 0.0.0", only: :docs}]
end
end