-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
81 lines (69 loc) · 1.89 KB
/
mix.exs
File metadata and controls
81 lines (69 loc) · 1.89 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
defmodule Taapi.MixProject do
use Mix.Project
@version "0.1.1"
@source_url "https://github.com/ZenHive/taapi_ex"
def project do
[
app: :taapi_ex,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
# Hex
description: "Elixir client for Taapi.io technical analysis API with 208 indicators",
package: package(),
# Docs
name: "Taapi",
source_url: @source_url,
docs: docs()
]
end
def application do
[
extra_applications: [:logger]
]
end
def cli do
[preferred_envs: ["test.json": :test, "dialyzer.json": :dev]]
end
defp deps do
[
# HTTP client
{:req, "~> 0.5"},
# Dev/test tooling
{:ex_unit_json, "~> 0.3", only: [:dev, :test], runtime: false},
{:dialyzer_json, "~> 0.1", only: [:dev, :test], runtime: false},
{:styler, "~> 1.10", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:sobelow, "~> 0.14", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:doctor, "~> 0.22", only: [:dev, :test], runtime: false},
# Tidewave for Claude Code MCP integration
{:tidewave, "~> 0.5", only: :dev},
{:bandit, "~> 1.10", only: :dev}
]
end
defp aliases do
[
tidewave: [
"run --no-halt -e 'Agent.start(fn -> Bandit.start_link(plug: Tidewave, port: 4002) end)'"
]
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md", "LICENSE"],
source_ref: "v#{@version}"
]
end
end