2020-12-16 10:35:31 -06:00
|
|
|
defmodule Lytedev.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
2020-12-16 17:30:44 -06:00
|
|
|
@build_path "build"
|
|
|
|
@deps_path Path.join(@build_path, "deps")
|
|
|
|
|
2020-12-16 10:35:31 -06:00
|
|
|
def project(), do: [
|
|
|
|
app: :lytedev,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.7",
|
|
|
|
elixirc_paths: ["src"],
|
|
|
|
config_path: "src/config.exs",
|
2020-12-16 13:22:10 -06:00
|
|
|
test_paths: ["src/test"],
|
2020-12-16 10:35:31 -06:00
|
|
|
start_permanent: true,
|
2020-12-16 17:30:44 -06:00
|
|
|
build_path: @build_path,
|
|
|
|
deps_path: @deps_path,
|
2020-12-16 17:36:13 -06:00
|
|
|
deps: deps(),
|
|
|
|
docs: docs(),
|
2020-12-16 10:35:31 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
def application, do: [
|
|
|
|
mod: {Lytedev.Application, []},
|
2020-12-16 17:36:13 -06:00
|
|
|
extra_applications: [:logger],
|
2020-12-16 10:35:31 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
def deps, do: [
|
2020-12-16 17:36:13 -06:00
|
|
|
{:ex_doc, "~> 0.23.0", only: :dev},
|
2020-12-16 10:35:31 -06:00
|
|
|
{:jason, "~> 1.0"},
|
|
|
|
{:finch, "~> 0.5"},
|
2020-12-16 17:36:13 -06:00
|
|
|
{:elli, "~> 3.0"},
|
|
|
|
]
|
|
|
|
|
|
|
|
def docs, do: [
|
|
|
|
output: "build/docs",
|
2020-12-16 10:35:31 -06:00
|
|
|
]
|
|
|
|
end
|