Browse Source

Add metadata

master
Nicolas Goy 11 months ago
parent
commit
fbddca7083
  1. 10
      Makefile
  2. 17
      mix.exs

10
Makefile

@ -1,15 +1,17 @@
.PHONY: test
test: export MIX_ENV=test
test: deps
mix test
.PHONY: deps
deps:
mix deps.get
.PHONY: clean
clean:
rm -fr _build deps
rm -fr _build deps
.PHONY: publish
publish:
mix hex.publish

17
mix.exs

@ -7,7 +7,11 @@ defmodule Hsluv.MixProject do
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
description: description(),
package: package(),
name: "HSLuv",
source_url: "https://git.goyman.com/kuon/ex-hsluv"
]
end
@ -24,4 +28,15 @@ defmodule Hsluv.MixProject do
{:jason, "~> 1.2", only: [:test]}
]
end
defp description() do
"A library to convert between RGB and HSLuv color spaces"
end
defp package() do
[
licenses: ["Apache-2.0", "MIT"],
links: %{"Git" => "https://git.goyman.com/kuon/ex-hsluv"}
]
end
end
Loading…
Cancel
Save