-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
39 lines (34 loc) · 953 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
defmodule Rock.Mixfile do
@moduledoc false
use Mix.Project
def project do
[
app: :rock,
version: "0.1.2",
elixir: "~> 1.4",
description: "ROCK: A Robust Clustering Algorithm for Categorical Attributes",
package: [
maintainers: ["Ayrat Badykov"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/ayrat555/rock"}
],
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env())
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:elixir_uuid, "~> 1.2"},
{:apex, "~> 1.2", only: [:dev, :test]},
{:ex_doc, "~> 0.22", only: :dev, runtime: false}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end