2016-12-21 13:34:16 +13:00
|
|
|
defmodule Vivid.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[app: :vivid,
|
|
|
|
version: "0.1.0",
|
2016-12-21 13:38:08 +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,
|
2016-12-21 13:38:08 +13:00
|
|
|
package: package,
|
2016-12-21 13:34:16 +13:00
|
|
|
deps: deps()]
|
|
|
|
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
|
|
|
[
|
|
|
|
{:ex_doc, ">= 0.0.0", only: :dev}
|
|
|
|
]
|
2016-12-21 13:34:16 +13:00
|
|
|
end
|
|
|
|
end
|