Packages

A lightweight library for managing and shuffling image collections with intelligent metadata generation. Perfect for portfolio sites, galleries, and randomized image displays.

Current section

Files

Jump to
Raw

mix.exs

defmodule PhotoShuffle.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/unaffiliatedstudios/photo_shuffle"
def project do
[
app: :photo_shuffle,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
# Development & Documentation
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
# Testing
{:excoveralls, "~> 0.18", only: :test}
]
end
defp description do
"""
A lightweight library for managing and shuffling image collections with intelligent metadata generation.
Perfect for portfolio sites, galleries, and randomized image displays.
"""
end
defp package do
[
name: "photo_shuffle",
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md),
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md"
},
maintainers: ["fireside68"]
]
end
defp docs do
[
main: "PhotoShuffle",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "CHANGELOG.md"],
groups_for_modules: [
"Core": [PhotoShuffle, PhotoShuffle.Image],
"File System": [PhotoShuffle.FileSystemBehaviour, PhotoShuffle.FileSystem.Local]
]
]
end
end