defmodule Mudbrick.MixProject do use Mix.Project @scm_url "https://github.com/code-supply/mudbrick" def project do [ app: :mudbrick, deps: deps(), description: "PDF-2.0 generator", elixir: "~> 1.17", package: package(), start_permanent: Mix.env() == :prod, version: "0.2.0", # Docs source_url: @scm_url, docs: [ main: "readme", 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 [ {:credo, "~> 1.7.0", only: [:dev, :test]}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.21", only: [:dev], runtime: false}, {:ex_image_info, "~> 0.2"}, {:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false}, {:opentype, "~> 0.5"}, {:stream_data, "~> 1.0", only: [:dev, :test]} ] end defp package do [ links: %{"GitHub" => @scm_url}, licenses: ["MIT"] ] end end