defmodule Box.MixProject do use Mix.Project def project do [ app: :box, version: "0.2.3", elixir: "~> 1.8", name: "Box", description: description(), package: package(), source_url: "https://github.com/RobotsAndPencils/box-elixir", 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 [ {:joken, "~> 2.0"}, {:hackney, "~> 1.15"}, {:jason, "~> 1.1"}, {:ex_crypto, "~> 0.10.0"}, {:castore, "~> 0.1.0"}, {:tesla, "~> 1.2.1"}, {:ex_doc, ">= 0.0.0", only: :dev}, {:credo, "~> 1.0", only: [:dev, :test], runtime: false} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end defp description() do "A minimal unofficial Box client." end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "box", description: description(), # These are the default files included in the package # files: ~w(lib priv .formatter.exs mix.exs README* readme* LICENSE* # license* CHANGELOG* changelog* src), licenses: ["MIT"], links: %{"GitHub" => "https://github.com/RobotsAndPencils/box-elixir"} ] end end