Current section

Files

Jump to
arke mix.exs
Raw

mix.exs

defmodule Arke.MixProject do
use Mix.Project
def project do
[
app: :arke,
name: "Arke",
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env)
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Arke.Application, []},
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"Arke core"
end
defp package() do
[
name: "arke",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"Website" => "https://arkehub.com"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/struct","test/starter" ]
defp elixirc_paths(_), do: ["lib"]
end