mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-06 17:20:17 +00:00
57 lines
1.3 KiB
Elixir
57 lines
1.3 KiB
Elixir
defmodule FirezoneUmbrella.MixProject do
|
|
@moduledoc """
|
|
Welcome to the FireZone Elixir Umbrella Project
|
|
"""
|
|
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
apps_path: "apps",
|
|
version: "0.2.0",
|
|
start_permanent: Mix.env() == :prod,
|
|
test_coverage: [tool: ExCoveralls],
|
|
preferred_cli_env: [
|
|
coveralls: :test,
|
|
"coveralls.detail": :test,
|
|
"coveralls.post": :test,
|
|
"coveralls.html": :test
|
|
],
|
|
deps: deps(),
|
|
aliases: aliases(),
|
|
default_release: :firezone,
|
|
releases: [
|
|
firezone: [
|
|
include_executables_for: [:unix],
|
|
validate_compile_env: false,
|
|
applications: [
|
|
fz_http: :permanent,
|
|
fz_wall: :permanent,
|
|
fz_vpn: :permanent
|
|
],
|
|
cookie: System.get_env("ERL_COOKIE")
|
|
]
|
|
]
|
|
]
|
|
end
|
|
|
|
# Dependencies listed here are available only for this
|
|
# project and cannot be accessed from applications inside
|
|
# the apps folder.
|
|
#
|
|
# Run "mix help deps" for examples and options.
|
|
defp deps do
|
|
[
|
|
{:excoveralls, "~> 0.13", only: :test},
|
|
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
|
|
{:dialyxir, "~> 1.0", only: [:dev], runtime: false}
|
|
]
|
|
end
|
|
|
|
defp aliases do
|
|
[
|
|
start: ["phx.server", "run --no-halt"]
|
|
]
|
|
end
|
|
end
|