-
Notifications
You must be signed in to change notification settings - Fork 8
/
mix.exs
49 lines (44 loc) · 1.24 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
defmodule ElixirBme680.MixProject do
use Mix.Project
@source_url "https://github.com/lucaong/elixir_bme680"
def project do
[
app: :elixir_bme680,
version: "0.2.2",
elixir: "~> 1.7",
compilers: [:elixir_make] ++ Mix.compilers,
make_targets: ["all"],
make_clean: ["clean"],
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
source_url: @source_url,
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package() do
[
description: "An Elixir library to interface with the BME680 gas sensor",
files: ["lib", "LICENSE", "mix.exs", "README.md", "src/*.c", "src/*.h", "src/linux/i2c-dev.h", "src_bme280/*.c", "src_bme280/*.h", "src_bme280/linux/i2c-dev.h", "Makefile"],
maintainers: ["Luca Ongaro"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:elixir_make, "~> 0.6", runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
end