Current section
Files
Jump to
Current section
Files
mix.exs
defmodule UniqueID.MixProject do
use Mix.Project
def project do
[
app: :unique_id,
version: "1.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "unique_id",
source_url: "https://github.com/kminwoog/unique_id"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:benchee, "~> 1.0", only: :dev}
]
end
defp description() do
"A fast, easy to use 64 bit Unique ID generator inspired by snowflake"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "unique_id",
# These are the default files included in the package
files: ["lib", "test", "config", "mix.exs", "README*", "LICENSE*"],
maintainers: ["kim min woog"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/kminwoog/unique_id"}
]
end
end