Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Mvola.MixProject do
use Mix.Project
def project do
[
app: :mvola,
version: "0.1.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
# Docs
name: "MVola",
source_url: "https://github.com/tsirysndr/mvola_ex",
docs: [
# The main page in the docs
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {MVola.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:finch, "~> 0.11.0"},
{:jason, "~> 1.3"},
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
]
end
defp description() do
"Elixir library for the Mvola API"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "mvola",
# These are the default files included in the package
files: ~w(lib mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/tsirysndr/mvola_ex"}
]
end
end