Current section
Files
Jump to
Current section
Files
mix.exs
defmodule XGPS.Mixfile do
use Mix.Project
def project do
[app: :xgps,
name: XGPS,
version: "0.6.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"},
{:gen_stage, "~> 1.1.2"},
{: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