defmodule MobScreencast.MixProject do use Mix.Project @source_url "https://github.com/GenericJam/mob_screencast" def project do [ app: :mob_screencast, version: "0.1.0", elixir: "~> 1.17", deps: deps(), description: "In-app screen capture to on-device H264 (MediaProjection/ReplayKit) for Mob apps", package: package(), docs: [ main: "readme", extras: ["README.md", "PLAN.md"] ], source_url: @source_url ] end def application do [extra_applications: [:logger]] end defp deps do # Local path dep while the plugin system is dogfooded; switch to the Hex # constraint ("~> 0.6") when mob publishes. :mob_dev is test-only (the # manifest tests run the real pre-publish validator) and never ships. [ {:mob, "~> 0.7"}, {:mob_dev, "~> 0.6", only: [:dev, :test], runtime: false}, # Code quality — Credo + ex_slop (AI-pattern checks) + jump_credo_checks, # mirroring mob core's pre-commit gate. {:ex_doc, "~> 0.34", only: :dev, runtime: false}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:ex_slop, "~> 0.4.2", only: [:dev, :test], runtime: false}, {:jump_credo_checks, "~> 0.1.0", only: [:dev, :test], runtime: false} ] end defp package do [ licenses: ["MIT"], links: %{"GitHub" => @source_url}, # The native sources + manifest must ship in the package — the host's # native build compiles them from deps//priv. files: ~w(lib src priv mix.exs README* CHANGELOG*) ] end end