-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
64 lines (57 loc) · 1.36 KB
/
mix.exs
File metadata and controls
64 lines (57 loc) · 1.36 KB
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
defmodule Klime.MixProject do
use Mix.Project
@version "1.1.0"
@source_url "https://github.com/klimeapp/klime-elixir"
def project do
[
app: :klime,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "Klime",
source_url: @source_url
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl]
]
end
defp deps do
[
{:jason, "~> 1.4"},
# Optional - for Plug middleware
{:plug, "~> 1.14", optional: true},
# Dev/test only
{:bypass, "~> 2.1", only: :test},
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp description do
"Klime SDK for Elixir - Track events, identify users, and group them with organizations."
end
defp package do
[
name: "klime",
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md"
},
maintainers: ["Klime"],
files: ~w(lib .formatter.exs mix.exs README.md LICENSE.md CONTRIBUTING.md)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CONTRIBUTING.md", "LICENSE.md"],
source_ref: "v#{@version}",
source_url: @source_url
]
end
end