build: LICENSE, prepare Hex release
Some checks failed
CI / Test (OTP 27.2 / Elixir 1.18.2) (push) Failing after 1s
CI / Test (OTP 28.4 / Elixir 1.19.4 + E2E) (push) Failing after 1s

This commit is contained in:
2026-04-06 08:54:20 +02:00
parent 8a4ec953b4
commit 8a290758ae
3 changed files with 44 additions and 4 deletions

23
mix.exs
View File

@@ -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",