Packages

The stopwatch provides an easy api to measure elapsed time and profile code.

Current section

Files

Jump to
stopwatch mix.exs
Raw

mix.exs

defmodule Stopwatch.Mixfile do
use Mix.Project
def project do
[app: :stopwatch,
version: "0.0.7",
elixir: "~> 1.0",
description: description,
package: package,
name: "Stopwatch",
source_url: "https://github.com/matteosister/stopwatch",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
docs: docs]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :tzdata]]
end
# 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
[{:timex, "~> 1.0"},
{:dialyxir, "~> 0.3", only: [:dev]},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev}]
end
defp description do
"""
The stopwatch provides an easy api to measure elapsed time and
profile code.
"""
end
defp package do
[
maintainers: ["Matteo Giachino"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/matteosister/stopwatch"}
]
end
defp docs do
[
main: "getting-started",
formatter_opts: [gfm: true],
extras: [
"docs/Getting Started.md"]
]
end
end