vivid/mix.exs

62 lines
1.4 KiB
Elixir
Raw Normal View History

2016-12-21 13:34:16 +13:00
defmodule Vivid.Mixfile do
use Mix.Project
2017-09-06 09:44:19 +12:00
@version "0.4.2"
2017-03-27 10:44:02 +13:00
2016-12-21 13:34:16 +13:00
def project do
[app: :vivid,
2017-03-27 10:44:02 +13:00
version: @version,
2017-03-08 16:31:39 +13:00
description: description(),
2016-12-21 13:34:16 +13:00
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
2017-03-08 16:31:39 +13:00
package: package(),
2017-03-27 10:44:02 +13:00
deps: deps(),
docs: [source_ref: "v#{@version}",
main: "Vivid",
canonical: "http://hexdocs.pm/vivid",
source_url: "https://github.com/jamesotron/vivid.ex",
extras: ["guides/getting-started.md"]]]
2016-12-21 13:34:16 +13:00
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
2016-12-21 13:38:08 +13:00
def description do
"""
Simple 2D rendering graphics rendering library.
"""
end
def package do
[
maintainers: [ "James Harton <james@messagerocket.co>" ],
2017-01-02 20:50:40 +13:00
licenses: [ "MIT" ],
links: %{
"Source" => "https://github.com/jamesotron/vivid.ex"
}
2016-12-21 13:38:08 +13:00
]
end
2016-12-21 13:34:16 +13:00
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
2017-01-02 20:51:37 +13:00
[
2017-03-08 16:31:39 +13:00
{:ex_doc, ">= 0.0.0", only: :dev},
2017-03-08 16:38:48 +13:00
{:credo, "~> 0.6", only: ~w(dev test)a},
2017-03-26 22:05:58 +13:00
{:inch_ex, "~> 0.5", only: :docs}
2017-01-02 20:51:37 +13:00
]
2016-12-21 13:34:16 +13:00
end
end