Packages

Some functions that I miss in Elixir standard library (and maybe you too). Miss Elixir brings in a non-intrusive way some extra functions that, for different reasons, are not part of the Elixir standard library.

Current section

Files

Jump to
miss mix.exs
Raw

mix.exs

defmodule Miss.MixProject do
use Mix.Project
@app :miss
@name "Miss Elixir"
@repo "https://github.com/prodis/miss-elixir"
@version "0.1.1"
def project do
[
app: @app,
name: @name,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
description: description(),
docs: docs(),
package: package(),
preferred_cli_env: preferred_cli_env(),
test_coverage: [tool: ExCoveralls]
]
end
def application, do: []
defp deps do
[
# Development
{:credo, "~> 1.4", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
# Test
{:decimal, "~> 2.0", only: :test},
{:excoveralls, "~> 0.12", only: :test}
]
end
defp description do
"""
Some functions that I miss in Elixir core (and maybe you too).
Miss Elixir brings in a non-intrusive way some extra functions that, for different reasons,
are not part of the Elixir core.
"""
end
defp dialyzer do
[
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
defp docs() do
[
main: "readme",
extras: ~w(README.md CHANGELOG.md),
formatters: ~w(html),
# logo: "misc/miss-elixir-logo.jpg",
source_ref: @version,
source_url: @repo,
canonical: "http://hexdocs.pm/miss"
]
end
defp package do
[
files: ~w(lib mix.exs README.md CHANGELOG.md LICENSE),
maintainers: ["Fernando Hamasaki de Amorim"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => @repo}
]
end
defp preferred_cli_env do
[
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.travis": :test
]
end
end