1.3 KiB · text History 65c16bb
defmodule RoomAirQuality.MixProject do
  use Mix.Project

  def project do
    [
      app: :room_air_quality,
      version: "0.1.0",
      build_path: "../../_build",
      config_path: "../../config/config.exs",
      deps_path: "../../deps",
      lockfile: "../../mix.lock",
      elixir: "~> 1.13",
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  # 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
    [
      # Poison pins decimal ~> 2.x; see the root mix.exs. Repeated here so the
      # override holds when this app is built or tested on its own.
      {:decimal, "~> 3.2", override: true},
      # wheretz pins httpoison ~> 1.6 for its download_data task; see the root
      # mix.exs. Repeated here for the same reason as decimal.
      {:httpoison, "~> 3.0", override: true},
      {:csv, "~> 3.0"},
      {:httpoison, "~> 3.0", override: true},
      {:parent, "~> 0.12.1"},
      {:timex, "~> 3.7"},
      {:room_sanctum, in_umbrella: true}
      # {:dep_from_hexpm, "~> 0.3.0"},
      # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
      # {:sibling_app_in_umbrella, in_umbrella: true}
    ]
  end
end