defmodule Delimit.MixProject do use Mix.Project def project do [ app: :delimit, version: "0.4.1", elixir: "~> 1.18", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), docs: docs(), name: "delimit", source_url: "https://github.com/advancedpricing/delimit" ] 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 [ # Development {:benchee, "~> 1.1", only: [:dev, :test]}, {:benchee_html, "~> 1.0", only: [:dev, :test]}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:test, :dev], runtime: false}, {:ex_doc, "~> 0.14", only: :dev, runtime: false}, {:mix_test_watch, "~> 1.1", only: [:dev, :test], runtime: false}, {:styler, "~> 1.0", only: [:dev, :test], runtime: false}, # Production {:nimble_csv, "~> 1.2"}, {:timex, "~> 3.7"} ] end defp description do "Schema-based library for reading and writing delimited (CSV, TSV, PSV, SSV) and fixed-width data files in Elixir. Provides strong typing with structs, streaming, embedded schemas, and custom transformations." end defp docs do [ main: "readme", name: "delimit", extras: ["README.md", "CHANGELOG.md", "LICENSE"] ] end defp package do [ licenses: ["LGPL-3.0-only"], links: %{"GitHub" => "https://github.com/advancedpricing/delimit"} ] end end