29 lines
569 B
Elixir
29 lines
569 B
Elixir
defmodule Morse.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :morse,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.9",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger],
|
|
env: [morse_message: "... --- ...", relay_pin: 17],
|
|
mod: {Morse.Application, []}
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:circuits_gpio, "~> 0.4.1"}
|
|
]
|
|
end
|
|
end
|