Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Husky.MixProject do
use Mix.Project
def project do
[
app: :husky,
version: "0.1.5",
description:
"Git hooks made easy. Husky can prevent bad git commit, git push and more 🐶 ❤️ woof! - Elixir equivalent of the husky npm package",
package: package(),
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript(),
source_url: "https://github.com/spencerdcarlson/husky-elixir",
homepage_url: "https://github.com/spencerdcarlson/husky-elixir"
]
end
defp package() do
[
licenses: ["MIT"],
files: ~w(CHANGELOG* config LICENSE* README* lib mix.exs priv .formatter.exs),
links: %{
"GitHub" => "https://github.com/spencerdcarlson/husky-elixir",
"Original NPM package" => "https://github.com/typicode/husky"
}
]
end
defp escript do
[
main_module: Husky,
path: "priv/husky"
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 3.1"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
end