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,
|
2017-09-01 00:18:01 +00:00
|
|
|
version: "0.2.3",
|
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: [
|
2017-10-13 10:18:43 +00:00
|
|
|
applications: [:httpotion],
|
2017-08-23 08:15:08 +00:00
|
|
|
]
|
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-10-13 10:18:43 +00:00
|
|
|
{:httpotion, "~> 3.0.2"},
|
2017-08-23 08:15:08 +00:00
|
|
|
{: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
|