defmodule TrollBridge.MixProject do use Mix.Project def project do [ app: :troll_bridge, version: "0.1.0", elixir: "~> 1.17", start_permanent: Mix.env() == :prod, deps: deps(), name: "troll_bridge", description: "Permission verification library with Phoenix/LiveView direct implementation - The troll must give you permission to pass through the bridge.", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), source_url: "https://github.com/nicolkill/troll_bridge", docs: [ 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 [ {:precuter, "~> 0.1.0"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp package do [ name: "troll_bridge", files: ~w(lib .formatter.exs mix.exs README*), licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/nicolkill/troll_bridge"} ] end end