43 lines
1.0 KiB
Elixir
43 lines
1.0 KiB
Elixir
defmodule Aife.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :aife,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.8",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
|
|
# Docs
|
|
name: "Aife",
|
|
source_url: "https://git.haigure.net/liru/aife",
|
|
homepage_url: "https://haigure.net",
|
|
docs: [
|
|
# The main page in the docs
|
|
main: "readme",
|
|
# logo: "path/to/logo.png",
|
|
extras: ["README.md"],
|
|
source_url_pattern: "https://git.haigure.net/liru/aife/src/branch/master/%{path}#L%{line}"
|
|
]
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger],
|
|
mod: {Aife.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"}
|
|
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
|
|
]
|
|
end
|
|
end
|