-
Notifications
You must be signed in to change notification settings - Fork 107
/
mix.exs
28 lines (25 loc) · 882 Bytes
/
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
defmodule OtelElixirTests.MixProject do
use Mix.Project
def project do
[
app: :otel_elixir_tests,
version: "0.1.0",
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env())
]
end
def deps do
[
{:opentelemetry, path: "apps/opentelemetry", only: :test, override: true},
{:opentelemetry_api, path: "apps/opentelemetry_api", only: :test, override: true},
{:opentelemetry_semantic_conventions,
path: "apps/opentelemetry_semantic_conventions", only: :test, override: true},
{:opentelemetry_experimental,
path: "apps/opentelemetry_experimental", only: :test, override: true},
{:opentelemetry_api_experimental,
path: "apps/opentelemetry_api_experimental", only: :test, override: true}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end