2023-06-06 14:41:34 +00:00
|
|
|
defmodule WeewxProxy.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :weewx_proxy,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.13",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
2024-07-15 11:02:57 +00:00
|
|
|
deps: deps(),
|
|
|
|
aliases: [
|
|
|
|
"deps.get": ["deps.get", "deps.nix"],
|
|
|
|
"deps.update": ["deps.update", "deps.nix"]
|
|
|
|
]
|
2023-06-06 14:41:34 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
|
|
|
extra_applications: [:logger],
|
|
|
|
mod: {WeewxProxy.Application, []}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
2024-07-15 11:02:57 +00:00
|
|
|
{:plug_cowboy, "~> 2.7"},
|
2023-06-06 14:41:34 +00:00
|
|
|
{:tortoise311, "~> 0.11"},
|
2024-07-15 11:02:57 +00:00
|
|
|
{:httpoison, "~> 2.2"},
|
2023-06-06 14:41:34 +00:00
|
|
|
{:jason, "~> 1.4"},
|
|
|
|
{:tz, "~> 0.26"},
|
2023-06-06 19:12:49 +00:00
|
|
|
{:systemd, "~> 0.6"},
|
2023-06-06 14:41:34 +00:00
|
|
|
{:typed_struct, "~> 0.3.0", runtime: false},
|
2024-07-15 11:02:57 +00:00
|
|
|
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
|
|
|
|
{:deps_nix, "~> 0.5", only: :dev}
|
2023-06-06 14:41:34 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|