-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
58 lines (51 loc) · 1.2 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
defmodule GitPair.MixFile do
use Mix.Project
def project do
[
app: :git_pair,
description: "Automatically adds Co-authored-by mark to commits when you're pairing",
version: "0.4.1",
elixir: "~> 1.10",
escript: escript(),
deps: deps(),
package: package(),
# Docs
name: "GitPair",
source_url: "https://github.com/elixirsc/git-pair",
homepage_url: "https://hex.pm/packages/git-pair/",
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[extra_applications: [:logger]]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:mox, "~> 0.5.2", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
def escript do
[
main_module: GitPair.CLI,
name: "git-pair",
path: "git-pair"
]
end
defp package do
[
name: "git_pair",
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/elixirsc/git-pair"}
]
end
defp docs do
[
main: "GitPair",
extras: ~w(README.md)
]
end
end