Packages

A Tesla Mojito Adapter.

Current section

Files

Jump to
Raw

mix.exs

defmodule TeslaMojito.MixProject do
use Mix.Project
def project do
[
app: :tesla_mojito,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: "https://github.com/mjason/tesla_mojito",
description: description(),
package: package(),
]
end
defp description() do
"A Tesla Mojito Adapter."
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "tesla_mojito",
# These are the default files included in the package
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/mjason/tesla_mojito"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:tesla, "~> 1.2.1"},
{:mojito, "~> 0.1.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
end