defmodule Guise.MixProject do use Mix.Project @version "0.1.0" @description "Session-sticky User-Agent rotation with modern, refreshable browser profiles. Assigns one realistic browser identity (UA + Accept-Language) per session key and keeps it sticky; the desktop + mobile pool is rendered from a small version table you refresh with `mix guise.refresh`." @source_url "https://github.com/alexdont/guise" def project do [ app: :guise, version: @version, description: @description, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), docs: docs() ] end def application do [ # :inets/:ssl/:public_key back the `mix guise.refresh` maintenance # task (built-in :httpc over verified TLS); the runtime itself only # reads the committed version file. extra_applications: [:logger, :inets, :ssl, :public_key], mod: {Guise.Application, []} ] end defp deps do [ {:jason, "~> 1.4"}, {:ex_doc, "~> 0.39", only: :dev, runtime: false} ] end defp package do [ name: "guise", maintainers: ["Alexander Don"], licenses: ["MIT"], links: %{"GitHub" => @source_url}, files: ~w(lib priv mix.exs README.md LICENSE CHANGELOG.md) ] end defp docs do [ name: "Guise", source_ref: "v#{@version}", source_url: @source_url, main: "Guise", extras: ["README.md", "CHANGELOG.md", "LICENSE"] ] end end