Skip to content

Commit

Permalink
Update mix.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatakeshi committed Jun 28, 2024
1 parent 92e4e40 commit 165a715
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ defmodule Gitly.MixProject do

def(project) do
[
name: "Gitly",
name: "gitly",
app: :gitly,
version: @version,
source_url: @source_url,
description: description(),
package: package(),
elixir: "~> 1.17",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
Expand Down Expand Up @@ -49,14 +50,27 @@ defmodule Gitly.MixProject do
{:excoveralls, "~> 0.18.1", only: :test},
{:plug, "~> 1.16", only: :test},
{:ex_doc, "~> 0.34.1", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.2", only: [:dev, :test], runtime: false}
{:mix_test_watch, "~> 1.2", only: [:dev, :test], runtime: false},
{:git_ops, "~> 2.6.1", only: :dev }
]
end

defp description do
"An Elixir library for easily downloading and extracting Git repositories from various hosting services."
end

defp package do
[
name: "gitly",
files: ["lib", "mix.exs", "mix.lock", "README.md", "LICENSE", "CHANGELOG.md"],
maintainers: ["iwatakeshi"],
licenses: ["MIT"],
links: %{
"GitHub" => @source_url
}
]
end

defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
Expand Down

0 comments on commit 165a715

Please sign in to comment.