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, deps: deps(), aliases: [ "deps.get": ["deps.get", "deps.nix"], "deps.update": ["deps.update", "deps.nix"] ] ] 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 [ {:plug_cowboy, "~> 2.7"}, {:tortoise311, "~> 0.11"}, {:httpoison, "~> 2.2"}, {:jason, "~> 1.4"}, {:tz, "~> 0.26"}, {:systemd, "~> 0.6"}, {:typed_struct, "~> 0.3.0", runtime: false}, {:dialyxir, "~> 1.4", only: [:dev], runtime: false}, {:deps_nix, "~> 0.5", only: :dev} ] end end