Packages

A functional programming helper library inspired by Ramda.

Current section

Files

Jump to
fxnk mix.exs
Raw

mix.exs

defmodule Fxnk.MixProject do
use Mix.Project
def project do
[
app: :fxnk,
version: "0.1.4",
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
dialyzer: [flags: [:underspecs]],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.github": :test
],
name: "Fxnk",
source_url: "https://github.com/matthewsecrist/fxnk",
homepage_url: "https://github.com/matthewsecrist/fxnk",
docs: [
main: "Fxnk",
logo: "fx.png",
extras: ["README.md"]
]
]
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
[
{:excoveralls, "~> 0.13.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:inner_cotton, "~> 0.6", only: [:dev, :test]}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp description do
"A functional programming helper library inspired by Ramda."
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "fxnk",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/matthewsecrist/fxnk"}
]
end
end