-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
98 lines (89 loc) · 2.25 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
defmodule Arke.MixProject do
use Mix.Project
@version "0.3.15"
@scm_url "https://github.com/arkemishub/arke"
@site_url "https://arkehub.com"
def project do
[
app: :arke,
name: "Arke",
version: @version,
build_path: "./_build",
config_path: "./config/config.exs",
deps_path: "./deps",
lockfile: "./mix.lock",
elixir: "~> 1.13",
source_url: @scm_url,
homepage_url: @site_url,
dialyzer: [plt_add_apps: ~w[eex]a],
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
aliases: aliases(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [warnings_as_errors: false],
versioning: versioning()
]
end
defp versioning do
[
tag_prefix: "v",
commit_msg: "v%s",
annotation: "tag release-%s created with mix_version",
annotate: true
]
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
[
{:typed_struct, "~> 0.2.1"},
{:uuid, "~> 1.1"},
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:timex, "~> 3.7.11"},
{:google_api_storage, "~> 0.34.0"},
{:goth, "~> 1.3.0"},
{:httpoison, "~> 2.0"},
{:calendar, "~> 1.0.0"},
{:xlsxir, "~> 1.6"},
{:libcluster, "~> 3.3"},
]
end
defp aliases do
[
test: [
"test"
],
"test.ci": [
"test"
]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description() do
"Arke low code framework Core"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "arke",
# These are the default files included in the package
licenses: ["Apache-2.0"],
links: %{
"Website" => @site_url,
"Github" => @scm_url
}
]
end
end