-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
58 lines (50 loc) · 1.15 KB
/
mix.exs
File metadata and controls
58 lines (50 loc) · 1.15 KB
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
defmodule Bakeit.Mixfile do
use Mix.Project
def project do
[
app: :bakeit,
version: "0.1.0",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
escript: escript_config,
deps: deps,
description: description,
package: package,
docs: [
extras: ["README.md"]
]
]
end
def application do
[applications: [:logger, :httpoison]]
end
defp deps do
[
{:httpoison, "~> 0.9.0"},
{:poison, "~> 2.0"},
{:ini, "~> 0.0.1"},
{:webbrowser, git: "https://github.com/efine/webbrowser.git", branch: "master"}
]
end
defp escript_config do
[main_module: Bakeit.CLI, name: "bakeit"]
end
defp description do
"""
BakeIt: a command line utility to [Pastery](https://www.pastery.net), the best
pastebin in the world.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Edwin Fine"],
licenses: ["Modified BSD License"],
links: %{
"GitHub" => "https://github.com/efine/bakeit_ex"
},
build_tools: ["mix"]
]
end
end