2020-05-04 18:14:37 +12:00
|
|
|
defmodule Circuits.UART.Framing.MIDI.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
2023-01-17 11:10:51 +13:00
|
|
|
@version "1.0.0"
|
2020-05-04 21:26:45 +12:00
|
|
|
|
|
|
|
@description """
|
|
|
|
Implements MIDI framing for Serial ports connected via Circuits.UART.
|
|
|
|
"""
|
|
|
|
|
2020-05-04 18:14:37 +12:00
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :circuits_uart_midi_framing,
|
2020-05-04 21:26:45 +12:00
|
|
|
version: @version,
|
2020-05-04 18:14:37 +12:00
|
|
|
elixir: "~> 1.10",
|
2020-05-04 21:26:45 +12:00
|
|
|
package: package(),
|
|
|
|
description: @description,
|
2020-05-04 18:14:37 +12:00
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps()
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2020-05-04 21:26:45 +12:00
|
|
|
def package do
|
|
|
|
[
|
2021-12-09 11:05:12 +13:00
|
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
2023-01-17 11:06:40 +13:00
|
|
|
licenses: ["HL3-FULL"],
|
2020-05-04 21:26:45 +12:00
|
|
|
links: %{
|
2024-06-24 12:51:31 +12:00
|
|
|
"Source" => "https://harton.dev/james/circuits_uart_midi_framing"
|
2020-05-04 21:26:45 +12:00
|
|
|
}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2020-05-04 18:14:37 +12:00
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
|
|
|
extra_applications: [:logger]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
2020-05-04 21:26:45 +12:00
|
|
|
{:circuits_uart, "~> 1.4"},
|
2021-12-09 12:24:20 +13:00
|
|
|
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
|
2024-06-24 12:51:31 +12:00
|
|
|
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
|
|
|
|
{:doctor, "~> 0.21", only: [:dev, :test], runtime: false},
|
|
|
|
{:earmark, "~> 1.4", only: [:dev, :test], runtime: false},
|
|
|
|
{:ex_check, "~> 0.16", only: [:dev, :test], runtime: false},
|
|
|
|
{:ex_doc, "~> 0.30", only: [:dev, :test], runtime: false},
|
|
|
|
{:git_ops, "~> 2.4", only: [:dev, :test], runtime: false}
|
2020-05-04 18:14:37 +12:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|