Packages

Sparkline lets you create small inline ANSI charts of time series. It supports two modes: sparkline and chart. The former fits in one line, the latter spans multiple lines and has labels.

Current section

Files

Jump to
sparkline mix.exs
Raw

mix.exs

defmodule Sparkline.Mixfile do
use Mix.Project
def project do
[app: :sparkline,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/meltwater/sparkline"
]
end
defp description do
"""
Sparkline lets you create small inline ANSI charts of time series. It supports
two modes: sparkline and chart. The former fits in one line, the latter spans
multiple lines and has labels.
"""
end
defp deps do
[
{:timex, "~> 3.1"},
{:ex_doc, "~> 0.16", only: :dev, runtime: false}
]
end
defp package do
[
name: :sparkline,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Meltwater Group"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/meltwater/sparkline"}
]
end
end