2017-07-15 11:20:25 +00:00
|
|
|
defmodule Vultr.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
@description """
|
|
|
|
Simple wrapper for the Vultr API
|
|
|
|
"""
|
|
|
|
|
2017-08-23 08:15:08 +00:00
|
|
|
def project, do: [
|
|
|
|
app: :vultr,
|
|
|
|
version: "0.2.2",
|
2017-08-23 08:17:26 +00:00
|
|
|
elixir: "~> 1.5",
|
2017-08-23 08:15:08 +00:00
|
|
|
deps: deps(),
|
|
|
|
description: @description,
|
|
|
|
package: package(),
|
|
|
|
]
|
2017-07-15 11:20:25 +00:00
|
|
|
|
|
|
|
# Configuration for the OTP application
|
2017-08-23 08:15:08 +00:00
|
|
|
def application, do: [
|
|
|
|
applications: [:tesla, :ibrowse],
|
|
|
|
]
|
2017-07-15 11:20:25 +00:00
|
|
|
|
2017-08-23 08:15:08 +00:00
|
|
|
defp deps, do: [
|
|
|
|
{:inch_ex, "~> 0.5", only: :docs},
|
|
|
|
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
|
2017-09-01 00:14:07 +00:00
|
|
|
{:tesla, "~> 0.7.2"},
|
2017-08-23 08:15:08 +00:00
|
|
|
{:ibrowse, "~> 4.2"},
|
|
|
|
{:poison, "~> 3.1"},
|
|
|
|
]
|
2017-07-15 11:20:25 +00:00
|
|
|
|
2017-08-23 08:15:08 +00:00
|
|
|
defp package, do: [
|
|
|
|
name: :vultr,
|
|
|
|
maintainers: ["James Dyson"],
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{"GitHub" => "https://github.com/avitex/elixir-vultr"},
|
|
|
|
]
|
2017-07-15 11:20:25 +00:00
|
|
|
end
|