mirror of
https://github.com/sloanelybutsurely/typeid-elixir.git
synced 2024-11-28 01:42:54 -05:00
fa0e1f48e4
* lower elixir requirement, expand testing matrix * use simpler versions * downgrade ubuntu version, don't fail fast * use elixir & otp versions in cache names
49 lines
991 B
Elixir
49 lines
991 B
Elixir
defmodule TypeID.MixProject do
|
|
use Mix.Project
|
|
|
|
@version "0.2.1"
|
|
|
|
def project do
|
|
[
|
|
app: :typeid_elixir,
|
|
version: @version,
|
|
elixir: "~> 1.11",
|
|
start_permanent: Mix.env() == :prod,
|
|
description: description(),
|
|
package: package(),
|
|
deps: deps(),
|
|
name: "TypeID Elixir",
|
|
source_url: "https://github.com/sloanelybutsurely/typeid-elixir",
|
|
docs: docs()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[extra_applications: [:logger]]
|
|
end
|
|
|
|
defp description do
|
|
"A type-safe, K-sortable, globally unique identifier inspired by Stripe IDs"
|
|
end
|
|
|
|
defp package do
|
|
[
|
|
licenses: ["MIT"],
|
|
links: %{"GitHub" => "https://github.com/sloanelybutsurely/typeid-elixir"}
|
|
]
|
|
end
|
|
|
|
defp docs do
|
|
[
|
|
main: "TypeID",
|
|
extras: ["CHANGELOG.md"]
|
|
]
|
|
end
|
|
|
|
defp deps do
|
|
[
|
|
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
|
|
{:yaml_elixir, "~> 2.9", only: [:dev, :test], runtime: false}
|
|
]
|
|
end
|
|
end
|