defmodule PolymarketNotify.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/mdon/polymarket_notify" def project do [ app: :polymarket_notify, version: @version, elixir: "~> 1.16", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), docs: docs(), name: "PolymarketNotify", source_url: @source_url, elixirc_options: [warnings_as_errors: true] ] end def application do [extra_applications: [:logger]] end defp description do "Notification controls (per-category x per-strategy) plus pluggable " <> "channels (Telegram/Discord/webhook/log) for Elixir trading bots. " <> "Best-effort delivery, injectable HTTP, no processes or database." end defp package do [ licenses: ["MIT"], files: ~w(lib mix.exs README.md LICENSE CHANGELOG.md .formatter.exs), links: %{ "GitHub" => @source_url } ] end defp docs do [ main: "PolymarketNotify", source_ref: "v#{@version}", source_url: @source_url, extras: [ "README.md", "CHANGELOG.md" ] ] end defp deps do [ {:req, "~> 0.5"}, {:jason, "~> 1.4"}, {:ex_doc, "~> 0.34", only: :dev, runtime: false} ] end end