Packages

A library for working with Valve's SteamID format

Current section

Files

Jump to
steamid mix.exs
Raw

mix.exs

# Copyright (C) AlphaKeks <alphakeks@dawn.sh>
# SPDX-License-Identifier: GPL-2.0-only
defmodule SteamID.MixProject do
use Mix.Project
@repo_url "https://git.sr.ht/~alphakeks/steamid.ex"
@version "0.3.0"
def project() do
[
app: :steamid,
version: @version,
elixir: "~> 1.19",
consolidate_protocols: Mix.env() != :dev,
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
# Hex
package: package(),
description: "A library for working with Valve's SteamID format",
# Docs
name: "SteamID",
docs: &docs/0
]
end
defp aliases() do
[
setup: ["deps.get"]
]
end
defp deps() do
[
{:ecto, "~> 3.0", optional: true},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:jason, "~> 1.0", optional: true},
{:jsv, "~> 0.19", optional: true},
{:nimble_options, "~> 1.0"}
]
end
defp package() do
[
maintainers: ["AlphaKeks"],
licenses: ["GPL-2.0"],
links: %{"SourceHut" => @repo_url}
]
end
defp docs() do
[
main: "SteamID",
extras: [
"README.md": [title: "README"],
LICENSE: [title: "License"]
],
source_ref: "v#{@version}",
source_url: @repo_url,
formatters: ["html"]
]
end
end