-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
67 lines (60 loc) · 1.66 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
defmodule ReqSnowflake.MixProject do
use Mix.Project
@version "0.1.0-dev"
@source_url "https://github.com/joshuataylor/req_snowflake"
def project do
[
app: :req_snowflake,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
docs: docs(),
preferred_cli_env: [
"test.all": :test,
docs: :docs,
"hex.publish": :docs
],
elixirc_paths: elixirc_paths(Mix.env())
]
end
def application do
[
extra_applications: [:logger]
]
end
defp docs do
[
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md"]
]
end
defp deps do
[
{:decimal, "~> 2.0"},
{:req, "~> 0.3.0"},
{:snowflake_arrow, github: "joshuataylor/snowflake_arrow"},
{:table, "~> 0.1.2", optional: true},
{:jason, "~> 1.2", optional: true},
{:jiffy, "~> 1.1", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false, optional: true},
{:elixir_uuid, "~> 1.2"},
{:dialyxir, "~> 1.1", only: :dev, runtime: false, optional: true},
{:bypass, "~> 2.1", only: :test},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false, optional: true},
{:tz, "~> 0.21.1"},
{:tz_extra, "~> 0.21.1"},
{:benchee, "~> 1.1", optional: true},
{:ezstd, "~> 1.0", optional: true}
]
end
def aliases do
["test.all": ["test --include integration"]]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end