Skip to content

Commit

Permalink
chore: add package details to mix.exs file (#7)
Browse files Browse the repository at this point in the history
## Checklist

<!--
For each bullet, ensure your pr meets the criteria and write a note
explaining how this PR relates. Mark them as complete as they are done.
All top-level checkboxes should be checked regardless of their relevance
to the pr with a note explaining whether they are relevant or not.
-->

- [X] Code conforms to the [Elixir
Styleguide](https://github.com/christopheradams/elixir_style_guide)

## Problem

This is required for common-config-elixir to add package release stuff

## Details

I did not set the org, so this package will be public. We should include
a license as well @doomspork
  • Loading branch information
btkostner committed Feb 7, 2024
1 parent f133880 commit ca24f39
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mix.exs
Expand Up @@ -10,7 +10,8 @@ defmodule Lunar.MixProject do
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
version: "0.1.0",
test_coverage: [tool: ExCoveralls]
test_coverage: [tool: ExCoveralls],
package: package()
]
end

Expand All @@ -37,4 +38,15 @@ defmodule Lunar.MixProject do
{:excoveralls, "~> 0.17.1", only: :test}
]
end

defp package do
[
files: ~w(lib mix.exs .formatter.exs README.md CHANGELOG.md),
licenses: ["UNLICENSED"],
links: %{
Changelog: "https://github.com/stordco/lunar/releases",
GitHub: "https://github.com/stordco/lunar"
}
]
end
end

0 comments on commit ca24f39

Please sign in to comment.