Skip to content

Commit

Permalink
adds package info to mix.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Polita committed Feb 21, 2023
1 parent 8133c60 commit 769991e
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
defmodule Vasov.MixProject do
use Mix.Project

@source_url "https://github.com/Efesto/vasov"
@version "0.1.0"

def project do
[
app: :vasov,
version: "0.1.0",
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs()
docs: docs(),
package: package(),
description: description()
]
end

Expand All @@ -21,8 +26,8 @@ defmodule Vasov.MixProject do
defp docs do
[
main: "Vasov",
source_ref: "master",
source_url: "https://github.com/Efesto/vasov",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md"]
]
end
Expand All @@ -35,4 +40,18 @@ defmodule Vasov.MixProject do
{:mix_test_interactive, "~> 1.0", only: :dev, runtime: false}
]
end

defp description do
"Transliterates from bulgarian cyrillic to latin."
end

defp package() do
[
name: "vasov",
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @source_url
}
]
end
end

0 comments on commit 769991e

Please sign in to comment.