Current section

Files

Jump to
depot_s3 mix.exs
Raw

mix.exs

defmodule DepotS3.MixProject do
use Mix.Project
def project do
[
app: :depot_s3,
version: "0.1.2",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
description: description(),
package: package(),
name: "Depot S3",
source_url: "https://github.com/elixir-depot/depot_s3"
]
end
defp description() do
"Depot adapter for S3."
end
defp package() do
[
# These are the default files included in the package
files: ~w(lib mix.exs README* LICENSE*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/elixir-depot/depot_s3"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# 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
[
{:depot, "~> 0.3.0"},
{:ex_aws, "~> 2.1"},
{:ex_aws_s3, "~> 2.0"},
{:hackney, "~> 1.9"},
{:sweet_xml, "~> 0.6"},
{:minio_server, "~> 0.1.0", only: :test},
{:jason, "~> 1.0", only: :test},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
end