Packages
surgex
3.2.0
6.0.1
6.0.0
5.1.1
5.1.0
5.0.0
5.0.0-git-015aa39a
4.15.2
4.15.1
4.15.1-git-98b3
4.15.0
4.15.0-git-943e
4.15.0-git-5806
4.14.1
4.14.0
4.13.1
4.13.0
4.12.0
4.11.0
4.11.0-git-97d4
4.11.0-git-14c8
4.10.0
4.10.0-git-37f2
4.9.0
4.9.0-git-9d5f
4.8.1-git-80a7
4.8.0
4.8.0-git-fbda
4.8.0-git-e058
4.7.0
4.7.0-git-5414
4.6.1
4.6.0
4.5.0
4.4.0
4.3.0
4.2.1
4.2.0
4.1.1
4.1.1-git-9f6b
4.1.1-git-6f0cd
4.1.0
4.1.0-git-e934
4.1.0-git-8c28
4.1.0-git-56a9
4.1.0-git-55fd
4.0.0
3.2.8
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
retired
3.1.0
3.0.0
2.24.1
2.24.0
retired
2.23.0
2.22.0
2.21.0
2.20.1
2.20.0
2.19.0
2.18.1
2.18.0
2.17.0
2.16.0
2.15.0
2.14.0
2.13.0
2.12.1
2.12.0
2.11.0
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.1
2.5.0
2.4.0
retired
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.6.0
1.5.2
1.5.1
1.5.0
1.4.0
1.3.1
retired
1.3.0
retired
1.2.1
1.2.0
1.1.0
1.0.0
0.5.2
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
All Things Elixir @ Surge Ventures Inc, the creators of Fresha
Retired package: Release invalid - Surgex.Appsignl.EctoLogger compilation issue
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Surgex.Mixfile do
use Mix.Project
def project do
[
app: :surgex,
version: "3.2.0",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
aliases: aliases(),
test_coverage: [tool: ExCoveralls],
escript: [main_module: Surgex.Command],
preferred_cli_env: [
check: :test,
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test
],
name: "Surgex",
description: "All Things Elixir @ Surge Ventures Inc, the creators of Shedul",
source_url: "https://github.com/surgeventures/surgex",
homepage_url: "https://github.com/surgeventures/surgex",
docs: [main: "readme", logo: "logo.png", extras: ["README.md", "CHANGELOG.md"]]
]
end
defp package do
[
maintainers: ["Karol Słuszniak"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/surgeventures/surgex",
"Shedul" => "https://www.shedul.com"
},
files: ~w(mix.exs lib LICENSE.md README.md CHANGELOG.md)
]
end
def application do
[mod: {Surgex.Application, []}, extra_applications: [:logger]]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp aliases do
[
check: check_alias(),
test: ["ecto.drop --quiet", "ecto.create --quiet", "ecto.migrate --quiet", "test"]
]
end
defp deps do
[
{:credo, "~> 0.8.1", only: [:dev, :test]},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:ex_machina, "~> 2.0", only: :test},
{:excoveralls, "~> 0.7", only: :test},
{:inch_ex, "~> 0.5", only: [:dev, :test]},
{:mock, "~> 0.2.1", only: :test},
{:postgrex, ">= 0.0.0", only: :test}
] ++ optional_deps()
end
defp optional_deps do
[
{:appsignal, "~> 1.0"},
{:confix, "~> 0.4.0"},
{:ecto_sql, "~> 3.0"},
{:jabbax, ">= 0.1.0"},
{:plug, "~> 1.7"}
]
|> Enum.map(&merge_dep_flags(&1, optional: true))
end
defp check_alias do
[
"test",
"credo --strict"
]
end
defp merge_dep_flags({pkg, flg}, flags) when is_list(flg), do: {pkg, Keyword.merge(flg, flags)}
defp merge_dep_flags({pkg, ver}, flags), do: {pkg, ver, flags}
defp merge_dep_flags({pkg, ver, flg}, flags), do: {pkg, ver, Keyword.merge(flg, flags)}
end