Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Elixpath.MixProject do
use Mix.Project
def project do
[
app: :elixpath,
version: "0.1.0",
elixir: "~> 1.7 or ~> 1.8",
start_permanent: Mix.env() == :prod,
description: description(),
deps: deps(),
package: package(),
docs: [main: "readme", extras: ["README.md"]],
test_coverage: [tool: ExCoveralls]
]
end
def description do
"JSONPath-like operations for Elixir's native data structure"
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
{:nimble_parsec, "~> 0.5", runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_doc, "~>0.20", only: [:dev], runtime: false},
{:inch_ex, only: :docs},
{:excoveralls, "~> 0.11.1", only: [:test]}
]
end
# Hex package info
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mtannaan/elixpath"}
]
end
end