defmodule RNS.MixProject do use Mix.Project def project do [ app: :rns, version: "0.1.0", elixir: "~> 1.18", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), # Docs name: "Elixir Reticulum Network Service", source_url: "https://codeberg.org/int32/reticulum_ex/src/branch/main/", homepage_url: "https://codeberg.org/int32/reticulum_ex", docs: &docs/0 ] end defp docs do [ # The main page in the docs main: "readme", extras: ["README.md", "ROADMAP.md"] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp description() do "This is an implementation of Mark Qvist's Reticulum Network Stack, a 'cryptography-based networking stack for building local and wide-area networks with readily available hardware.'" end defp package() do [ name: "reticulum", files: ~w(lib mix.exs README.md ROADMAP.md LICENCE.txt), licenses: ["WTFPL"], links: %{"Source on Codeberg" => "https://codeberg.org/int32/reticulum_ex"} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:toml, "~> 0.7.0"} ] end end