defmodule Exyaml.MixProject do use Mix.Project @description """ Exyaml is a YAML parser and emitter for Elixir. It provides functions to parse YAML strings into Elixir data structures and to emit Elixir data structures as YAML strings. Exyaml is built on top of the yamerl library, which is a pure Erlang implementation of a YAML parser and emitter. """ def project do [ app: :exyaml, description: @description, version: "0.2.0", elixir: "~> 1.18", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], package: package(), versioning: versioning(), ] 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"} {:yamerl, "~> 0.10.0"}, {:excoveralls, "~> 0.18.5", only: :test}, {:ex_doc, "~> 0.40.1", only: :dev, runtime: false}, {:mix_version, "~> 2.4.0", only: [:dev, :test], runtime: false} ] end defp package do [ maintainers: ["Kenta Hattori"], licenses: ["MIT"], links: %{ "Github" => "https://github.com/khattori/exyaml" } ] end defp versioning do [ annotate: true, annotation: "new version %s", commit_msg: "new version %s", tag_prefix: "v" ] end end