-
Notifications
You must be signed in to change notification settings - Fork 33
/
mix.exs
84 lines (78 loc) · 2.22 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
defmodule Forcex.Mixfile do
use Mix.Project
@description """
Elixir library for the Force.com / SalesForce / SFDC REST API
"""
def project do
[
app: :forcex,
version: "0.8.3",
elixir: "~> 1.5",
name: "Forcex",
description: @description,
package: package(),
# compilers: [:forcex] ++ Mix.compilers,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test,
"coveralls.post": :test,
docs: :dev,
"hex.docs": :dev,
],
dialyzer: [
plt_add_deps: :transitive,
ignore_warnings: ".dialyzer_ignore.exs",
flags: [
# "-Wunmatched_returns",
# "-Wrace_conditions",
# "-Wunderspecs",
# "-Wunknown",
# "-Woverspecs",
# "-Wspecdiffs",
]
],
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env)
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: [:logger, :httpoison, :erlsom, :exjsx, :ssl, :html_entities]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:httpoison, "~> 0.13 or ~> 1.0"},
{:exjsx, "< 5.0.0"},
{:poison, "~> 2.0 or ~> 3.1"},
{:timex, "~> 2.0 or ~> 3.0"},
{:erlsom, "~> 1.4"},
{:excoveralls, "~> 0.5", only: :test},
{:ex_doc, "~> 0.11", only: :dev},
{:earmark, "~> 1.1", only: :dev, override: true},
{:dialyxir, "~> 1.0.0-rc.3", only: [:dev, :test], runtime: false},
{:mox, "~> 0.3", only: :test},
{:mix_test_watch, "~> 0.5", only: [:dev, :test], runtime: false},
{:html_entities, "~> 0.4"}
]
end
defp package do
[maintainers: ["Jeff Weiss", "Matt Robinson"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/jeffweiss/forcex"}]
end
end