Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Cartouche.MixProject do
use Mix.Project
@version "0.0.1"
@source_url "https://github.com/ZenHive/cartouche"
def project do
[
app: :cartouche,
version: @version,
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
source_url: @source_url,
name: "Cartouche",
docs: docs()
]
end
def cli do
[preferred_envs: ["test.json": :test, "dialyzer.json": :dev]]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:ex_unit_json, "~> 0.4", only: [:dev, :test], runtime: false},
{:dialyzer_json, "~> 0.2", only: [:dev, :test], runtime: false},
{:styler, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:sobelow, "~> 0.13", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:doctor, "~> 0.22", only: [:dev, :test], runtime: false},
{:ex_dna, "~> 1.3", only: [:dev, :test], runtime: false},
{:ex_ast, "~> 0.5", only: [:dev, :test], runtime: false}
]
end
defp description do
"Attributed fork of hayesgm/signet — Ethereum key manager and RPC client for Elixir. Placeholder release; active development lands in 0.1.x."
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Upstream (hayesgm/signet)" => "https://github.com/hayesgm/signet"
},
files: ~w(lib mix.exs README.md LICENSE CHANGELOG.md .formatter.exs)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
source_ref: "v#{@version}"
]
end
end