Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Coinbase.Mixfile do
use Mix.Project
def project do
[app: :coinbase,
version: "0.0.1",
elixir: "~> 1.0",
deps: deps,
description: "Coinbase API for Elixir",
package: package,
source_url: "https://github.com/gregpardo/coinbase-elixir"]
end
def application do
[applications: app_list(Mix.env)]
end
defp app_list(:dev), do: [:dotenv | app_list]
defp app_list(_), do: app_list
defp app_list, do: [:httpoison, :poison, :timex, :logger]
defp deps do
[
{:ibrowse, github: "cmullaparthi/ibrowse"},
{ :inflex, "~> 1.0.0" },
{:dotenv, "~> 0.0.4"},
{:httpoison, "~> 0.6.0"},
{:poison, "~> 1.3.1"},
{:timex, "~> 0.13.3"},
{:exvcr, "~> 0.4.0", only: :test},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.6", only: :dev}
]
end
defp package do
[ # These are the default files included in the package
files: ["lib", "mix.exs", "README*", "LICENSE*", "license*"],
contributors: ["Bryan Joseph", "Greg Pardo"],
licenses: ["MIT"],
links: %{ "GitHub" => "https://github.com/gregpardo/coinbase-elixir" }
]
end
end