Skip to content

Commit 7267888

Browse files
committed
Preparing the package for publication.
Signed-off-by: Exadra37 <exadra37@gmail.com>
1 parent 3218244 commit 7267888

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

mix.exs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
defmodule ElixirScribe.MixProject do
22
use Mix.Project
33

4+
# The Elixir version here needs to be equal or greater then the one
5+
# used by the Phoenix Framework and Phoenix Installer.
6+
@elixir_requirement "~> 1.14"
7+
@scm_url "https://github.com/exadra37/elixir-scribe"
8+
9+
@description """
10+
Elixir Scribe - A Mix Task to Generate Elixir and Phoenix Projects
11+
12+
The Elixir Scribe tool aims to help developers to more easily write clean code in a clean software architecture for enhanced developer experience and productivity.
13+
"""
14+
415
def project do
516
[
617
app: :elixir_scribe,
18+
name: "Elixir Scribe",
719
version: "0.1.0",
8-
elixir: "~> 1.16",
20+
elixir: @elixir_requirement,
921
start_permanent: Mix.env() == :prod,
22+
homepage_url: @scm_url,
23+
source_url: @scm_url,
24+
description: @description,
25+
package: package(),
1026
deps: deps()
1127
]
1228
end
@@ -18,6 +34,16 @@ defmodule ElixirScribe.MixProject do
1834
]
1935
end
2036

37+
defp package do
38+
[
39+
maintainers: ["Paulo Renato (Exadra37)"],
40+
licenses: ["MIT"],
41+
links: %{"GitHub" => @scm_url},
42+
files:
43+
~w(lib priv LICENSE.md mix.exs README.md .formatter.exs)
44+
]
45+
end
46+
2147
# Run "mix help deps" to learn about dependencies.
2248
defp deps do
2349
[

0 commit comments

Comments
 (0)