You've already forked tribes-plugin-aether
forked from tribes/tribes-plugin-template
46 lines
1.0 KiB
Elixir
46 lines
1.0 KiB
Elixir
defmodule Aether.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :aether,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.18",
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
aliases: aliases()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
extra_applications: [:logger]
|
|
# Uncomment if your plugin needs its own supervision tree:
|
|
# mod: {Aether.Application, []}
|
|
]
|
|
end
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
|
defp elixirc_paths(_), do: ["lib"]
|
|
|
|
defp deps do
|
|
[
|
|
# Plugin API dependency for local development alongside a tribes checkout.
|
|
#
|
|
# For CI or standalone development, this can be replaced with a published
|
|
# package once tribes_plugin_api is released.
|
|
{:tribes_plugin_api, path: "../tribes/tribes_plugin_api", runtime: false},
|
|
{:phoenix, "~> 1.8"},
|
|
{:phoenix_html, "~> 4.1"},
|
|
{:phoenix_live_view, "~> 1.1.0"}
|
|
]
|
|
end
|
|
|
|
defp aliases do
|
|
[
|
|
test: ["test"]
|
|
]
|
|
end
|
|
end
|