build: LICENSE, prepare Hex release
This commit is contained in:
23
mix.exs
23
mix.exs
@@ -10,7 +10,9 @@ defmodule Parrhesia.MixProject do
|
||||
start_permanent: Mix.env() == :prod,
|
||||
deps: deps(),
|
||||
aliases: aliases(),
|
||||
docs: docs()
|
||||
docs: docs(),
|
||||
description: description(),
|
||||
package: package()
|
||||
]
|
||||
end
|
||||
|
||||
@@ -52,15 +54,17 @@ defmodule Parrhesia.MixProject do
|
||||
{:telemetry_poller, "~> 1.0"},
|
||||
{:telemetry_metrics_prometheus, "~> 1.1"},
|
||||
|
||||
# Runtime: outbound WebSocket client (sync transport)
|
||||
{:websockex, "~> 0.4"},
|
||||
|
||||
# Test tooling
|
||||
{:stream_data, "~> 1.0", only: :test},
|
||||
{:websockex, "~> 0.4"},
|
||||
|
||||
# Project tooling
|
||||
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
|
||||
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
|
||||
{:deps_changelog, "~> 0.3"},
|
||||
{:igniter, "~> 0.6", only: [:dev, :test]}
|
||||
{:deps_changelog, "~> 0.3", only: :dev, runtime: false},
|
||||
{:igniter, "~> 0.6", only: [:dev, :test], runtime: false}
|
||||
]
|
||||
end
|
||||
|
||||
@@ -82,6 +86,17 @@ defmodule Parrhesia.MixProject do
|
||||
]
|
||||
end
|
||||
|
||||
defp description do
|
||||
"Nostr event relay with WebSocket fanout, sync, and access control"
|
||||
end
|
||||
|
||||
defp package do
|
||||
[
|
||||
licenses: ["BSD-2-Clause"],
|
||||
links: %{"Gitea" => "https://git.teralink.net/tribes/parrhesia"}
|
||||
]
|
||||
end
|
||||
|
||||
defp docs do
|
||||
[
|
||||
main: "readme",
|
||||
|
||||
Reference in New Issue
Block a user