Packages
track_indices
0.1.0
Document and audit database indices in your Ecto schemas. TrackIndices provides a way to document database indices directly in your schema modules and automatically verify that your documentation matches the actual database indices.
Current section
Files
Jump to
Current section
Files
track_indices
mix.exs
mix.exs
defmodule TrackIndices.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://sr.ht/~subsetpark/track_indices/"
def project do
[
app: :track_indices,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "track_indices",
source_url: @source_url
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ecto_sql, "~> 3.0"},
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp description do
"""
Document and audit database indices in your Ecto schemas.
TrackIndices provides a way to document database indices directly in your
schema modules and automatically verify that your documentation matches the
actual database indices.
"""
end
defp package do
[
name: "track_indices",
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md),
licenses: ["BSD-3-Clause"],
links: %{
"sourcehut" => @source_url,
}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
end
end