Packages

A normalization/denormalization that works well with Elixir datastructures.

Current section

Files

Jump to
hugs mix.exs
Raw

mix.exs

defmodule Hugs.MixProject do
use Mix.Project
@description "A normalization/denormalization that works well with Elixir datastructures."
def project do
[
app: :hugs,
version: "0.1.10",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
description: @description,
package: package(),
source_url: "https://github.com/lud/hugs",
elixirc_paths: elixirc_paths(Mix.env())
]
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"}
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:benchee, "~> 1.0", only: :dev, runtime: false}
]
end
def package() do
[
name: "hugs",
licenses: ["MIT"],
links: %{"Github" => "https://github.com/lud/hugs"}
]
end
defp docs do
[
formatters: ["html"],
nest_modules_by_prefix: [
Hugs.TestMod,
Hugs
]
]
end
# defp elixirc_paths(:test), do: ["lib", "test/support"]
# defp elixirc_paths(_), do: ["lib"]
defp elixirc_paths(_), do: ["lib", "test/support"]
end