Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ArkeAuth.MixProject do
use Mix.Project
def project do
[
app: :arke_auth,
name: "arke_auth",
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.13",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {ArkeAuth.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bcrypt_elixir, "~> 1.0"},
{:typed_struct, "~> 0.2.1"},
{:comeonin, "~> 4.0"},
{:guardian, "~> 2.0"},
{:arke, "~> 0.1.0"},
{:arke_postgres, "~> 0.1.0"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
# {:sibling_app_in_umbrella, in_umbrella: true}
]
end
defp description() do
"Arke auth"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "arke_auth",
# These are the default files included in the package
licenses: ["Apache-2.0"],
links: %{}
]
end
defp elixirc_paths(:test), do: ["lib", "test/starter"]
defp elixirc_paths(_), do: ["lib"]
end