Current section

Files

Jump to
plato mix.exs
Raw

mix.exs

defmodule Plato.MixProject do
use Mix.Project
def project do
[
app: :plato,
# x-release-please-start-version
version: "0.0.14",
# x-release-please-end
build_path: "../../_build",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
source_url: "https://github.com/lassediercks/plato",
homepage_url: "https://github.com/lassediercks/plato"
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Plato.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto_sql, "~> 3.13.4"},
{:postgrex, "~> 0.19"},
{:phoenix, "~> 1.8.3"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_view, "~> 1.1.22"},
{:plug_cowboy, "~> 2.7"},
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
# Optional dependencies for image field support
{:ex_aws, "~> 2.5", optional: true},
{:ex_aws_s3, "~> 2.5", optional: true},
{:hackney, "~> 1.20", optional: true}
]
end
defp description do
"""
A schema-driven headless CMS for Phoenix applications.
Create dynamic content types, manage relationships, and query content
with a clean API. Includes a mountable admin UI for content management.
"""
end
defp package do
[
name: "plato",
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/lassediercks/plato"
},
maintainers: ["Lasse Diercks"],
files: ~w(lib priv .formatter.exs mix.exs README.md LICENSE CHANGELOG.md)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
# x-release-please-start-version
source_ref: "v0.0.14",
# x-release-please-end
source_url: "https://github.com/lassediercks/plato"
]
end
end