defmodule WebDevUtils.MixProject do use Mix.Project @source_url "https://github.com/elixir-tools/web_dev_utils" def project do [ app: :web_dev_utils, description: "Library to enable awesome local development for websites and web applications", version: "0.3.0", elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, package: package(), deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:file_system, "~> 1.0"}, {:ex_doc, ">= 0.0.0", only: :dev} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end defp package() do [ maintainers: ["Mitchell Hanberg"], licenses: ["MIT"], links: %{ GitHub: @source_url, Sponsor: "https://github.com/sponsors/mhanberg" }, files: ~w(lib LICENSE mix.exs README.md .formatter.exs) ] end end