-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
76 lines (71 loc) · 2.13 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
defmodule OpenTripPlannerClient.MixProject do
use Mix.Project
@version "0.11.3"
def project do
[
app: :open_trip_planner_client,
version: @version,
elixir: "~> 1.17",
elixirc_paths: ["lib", "test/support"],
deps: deps(),
dialyzer: [plt_add_apps: [:mix]],
aliases: [
docs: ["docs --formatter html --output docs"]
],
test_coverage: [
ignore_modules: [
Mix.Tasks.UpdateFixture,
~r/Jason.Encoder/,
~r/OpenTripPlannerClient.Schema\./,
~r/Nestru/
]
],
# Docs
name: "OpenTripPlanner MBTA Client",
source_url: "https://github.com/thecristen/open_trip_planner_client",
homepage_url: "https://thecristen.github.io/open_trip_planner_client",
docs: [
main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}",
api_reference: false,
groups_for_modules: [
"Itinerary Tagging": [
OpenTripPlannerClient.ItineraryTag,
OpenTripPlannerClient.ItineraryTag.Behaviour,
OpenTripPlannerClient.ItineraryTag.Scorer
],
"Supported Itinerary Tags": ~r/(MostDirect|ShortestTrip|EarliestArrival|LeastWalking)/,
"OTP derived schemas": ~r/OpenTripPlannerClient.Schema/,
"Test helpers": [OpenTripPlannerClient.Test.Support.Factory]
],
nest_modules_by_prefix: [
OpenTripPlannerClient.ItineraryTag,
OpenTripPlannerClient.Schema,
OpenTripPlannerClient
]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:absinthe_client, "~> 0.1.1"},
{:bypass, "~> 2.1", only: :test},
{:credo, "~> 1.7", only: [:dev, :test]},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:ex_machina, "~> 2.8", optional: true},
{:faker, "~> 0.18", optional: true},
{:jason, "~> 1.4"},
{:nestru, "~> 1.0"},
{:req, "~> 0.5"},
{:timex, "~> 3.0"},
{:typed_struct, "~> 0.3.0"}
]
end
end