defmodule ExIpfs.Mixfile do @moduledoc false use Mix.Project def project do [ app: :ex_ipfs, version: "0.2.0", elixir: "~> 1.18", name: "Elixir IPFS", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), source_url: "https://github.com/bahner/ex-ipfs.git", test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ] ] end def application do [ extra_applications: [:logger, :tesla], mod: {ExIpfs.Application, []} ] end defp deps do [ {:finch, "~> 0.20"}, {:nanoid, "~> 2.1"}, {:recase, "~> 0.8"}, {:temp, "~> 0.4"}, {:tesla, "~> 1.13"}, {:bypass, "~> 2.1", only: :test}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.36", only: :dev, runtime: false}, {:excoveralls, "~> 0.18", only: :test, runtime: false} ] end defp description() do "Core Elixir IPFS module for Kubo IPFS RPC API" end defp package do [ files: ["lib", "mix.exs", "README*", "LICENSE*", "AUTHORS*"], maintainers: ["Lars Bahner"], licenses: ["GPL-3.0"], links: %{"GitHub" => "https://github.com/bahner/ex-ipfs"} ] end end