Packages

A few sentences (a paragraph) describing the project.

Current section

Files

Jump to
Raw

mix.exs

defmodule FuelCalculator.MixProject do
use Mix.Project
def project do
[
app: :fuel_calculator,
version: "0.1.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "FuelCalculator",
source_url: "https://github.com/ltenzil/NFC",
homepage_url: "https://ltenzil.github.io/ltenzil/",
docs: [
# The main page in the docs
main: "FuelCalculator",
extras: ["README.md"]
],
description: description(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp description do
"A few sentences (a paragraph) describing the project."
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "fuel_calculator",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/ltenzil/NFC"}
]
end
end