Packages

GGity brings the familiar interface of R's ggplot2 library to SVG charting in Elixir.

Current section

Files

Jump to
ggity mix.exs
Raw

mix.exs

defmodule GGity.MixProject do
use Mix.Project
@source_url "https://github.com/srowley/ggity"
@version "0.3.1"
def project do
[
app: :ggity,
version: @version,
aliases: aliases(),
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
dialyzer: [plt_add_apps: [:mix]],
name: "GGity",
description: """
GGity brings the familiar interface of R's ggplot2 library to SVG
charting in Elixir.
""",
homepage_url: "http://www.pocketbookvote.com",
docs: [
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "ROADMAP.md", "CHANGELOG.md"],
main: "readme"
]
]
end
def application, do: []
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:sweet_xml, "~> 0.6.6", only: :test},
{:nimble_csv, "~> 0.7"},
{:nimble_strftime, "~> 0.1"}
]
end
defp aliases do
[
checks: [
"compile",
"credo",
"dialyzer",
"format",
"ggity.visual"
]
]
end
defp package() do
[
name: "ggity",
files: ~w(lib priv mix.exs README* LICENSE* ROADMAP* CHANGELOG*),
licenses: ["MIT"],
links: %{
"Website" => "http://www.pocketbookvote.com/",
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"Roadmap" => "#{@source_url}/blob/master/ROADMAP.md"
}
]
end
end