-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
98 lines (90 loc) · 2.81 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 ExAzureSpeech.MixProject do
use Mix.Project
def project do
[
app: :ex_azure_speech,
aliases: aliases(),
version: "0.1.0",
elixir: "~> 1.16",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
deps: deps(),
dialyzer: [
plt_core_path: "_plts/core"
],
source_url: "https://github.com/YgorCastor/ex_azure_speech.git",
homepage_url: "https://github.com/YgorCastor/ex_azure_speech.git",
docs: [
main: "readme",
extras: [
"CHANGELOG.md": [title: "Changelog"],
"README.md": [title: "Introduction"],
LICENSE: [title: "License"]
],
groups_for_modules: [
Authentication: &(&1[:section] == :auth),
Common: &(&1[:section] == :common),
"Speech-To-Text": &(&1[:section] == :speech_to_text)
],
nest_modules_by_prefix: [
ExAzureSpeech.Common,
ExAzureSpeech.Authentication,
ExAzureSpeech.SpeechToText
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:deep_merge, "~> 1.0"},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:doctor, "~> 0.21", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.14", only: :test},
{:ex_check, "~> 0.14", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:fresh, "~> 0.4"},
{:jason, "~> 1.4"},
{:mix_audit, ">= 0.0.0", only: [:dev, :test], runtime: false},
{:mock, "~> 0.3", only: :test, runtime: false},
{:mint, "~> 1.5"},
{:nimble_options, "~> 1.0"},
{:splode, "~> 0.2"},
{:tesla, "~> 1.8"},
{:elixir_uuid, "~> 1.2"},
{:wait_for_it, "~> 2.1"}
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp aliases do
[
test: ["test --exclude integration"],
"test.integration": ["test --only integration"]
]
end
def cli do
[preferred_envs: ["test.integration": :test]]
end
defp description() do
"The non-official Elixir implementation for Azure Cognitive Services Speech SDK. This project aims to provide all the functionalities described in the official sdk"
end
defp package() do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/YgorCastor/ex_azure_speech.git"},
sponsor: "ycastor.eth"
]
end
end