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-11-28 06:58:41 +00:00
|
|
|
version: "0.3.0",
|
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: [
|
2020-04-15 10:15:44 +00:00
|
|
|
{:inch_ex, "~> 2.0", only: :docs},
|
2017-08-23 08:15:08 +00:00
|
|
|
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
|
2020-04-20 15:09:30 +00:00
|
|
|
{:httpotion, "~> 3.1.3"},
|
2020-04-20 19:21:28 +00:00
|
|
|
{:poison, "~> 4.0"},
|
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 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
|