50 lines
1.1 KiB
Elixir
50 lines
1.1 KiB
Elixir
defmodule Issues.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :issues,
|
|
escript: escript_config(),
|
|
version: "0.1.0",
|
|
elixir: "~> 1.12",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
name: "Issues",
|
|
source_url: "https://git.zeitschlag.net/zeitschlag/elixir-book",
|
|
test_coverage: [tool: ExCoveralls],
|
|
preferred_cli_env: [
|
|
coveralls: :test,
|
|
"coveralls.detail": :test,
|
|
"coveralls.post": :test,
|
|
"coveralls.html": :test
|
|
]
|
|
]
|
|
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
|
|
[
|
|
{:httpoison, "~> 1.8.0"},
|
|
{:poison, "~> 5.0"},
|
|
{:ex_doc, "~> 0.28"},
|
|
{:earmark, "~> 1.4.18"},
|
|
{:excoveralls, "~> 0.14.4", only: :test}
|
|
# {:dep_from_hexpm, "~> 0.3.0"},
|
|
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
|
|
]
|
|
end
|
|
|
|
defp escript_config do
|
|
[
|
|
main_module: Issues.CLI
|
|
]
|
|
end
|
|
end
|