Current section

Files

Jump to
Raw

mix.exs

defmodule MyspaceIPFS.Mixfile do
use Mix.Project
def project do
[
app: :myspace_ipfs,
version: "0.1.0",
elixir: "~> 1.11",
name: "Myspace IPFS",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
name: "myspace_ipfs",
source_url: "https://github.com/bahner/myspace-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]
]
end
defp deps do
[
{:tesla, "~> 1.4"},
{:jason, "~> 1.4"},
{:hackney, "~> 1.13"},
{:nanoid, "~> 2.0"},
{:excoveralls, "~> 0.15", only: :test},
{:ex_doc, "~> 0.29", only: :dev, runtime: false}
]
end
defp description() do
"A pretty good Kubo IPFS RPC API client for Elixir."
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*", "AUTHORS*", "src"],
maintainers: ["Lars Bahner"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/bahner/myspace-ipfs"}
]
end
end