-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmix.exs
47 lines (42 loc) · 1.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
defmodule XGPS.Mixfile do
use Mix.Project
def project do
[app: :xgps,
name: XGPS,
version: "1.1.0",
elixir: "~> 1.10",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: "https://github.com/royveshovda/xgps",
deps: deps(),
description: description(),
package: package()]
end
def application do
[applications: [:logger, :gen_stage],
extra_applications: [:circuits_uart],
mod: {XGPS, []}]
end
defp deps do
[{:circuits_uart, "~> 1.5"},
{:mix_test_watch, "~> 1.1", only: [:dev, :test], runtime: false},
{:gen_stage, "~> 1.2.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"""
An OTP application for reading and parsing GPS data written in Elixir.
Will attach to an serial port, and provide positions to subscribers.
Distributes positions using GenStage.
"""
end
defp package do
[# These are the default files included in the package
name: :xgps,
files: ["lib", "mix.exs", "README*", "LICENSE*", "simulator_positions.txt"],
maintainers: ["Roy Veshovda"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/royveshovda/xgps"}]
end
end