Adds Mob's two deps to the host project's mix.exs:
{:mob, "~> 0.7"}— the framework, used at runtime.{:mob_dev, "~> 0.6", only: :dev, runtime: false}— build/deploy Mix tasks. Dev-only.
Options
--local— writepath:deps instead of Hex version constraints, resolved fromMOB_DIR/MOB_DEV_DIRenv vars (falling back to./mob/../mob). For Mob framework contributors.
Other orchestrator flags accepted but inert.
Idempotency
Patching is done via MobDev.Adopt.Patcher.inject_deps/3 (the
same stdlib-AST walk mix mob.new --liveview uses), which
short-circuits if :mob is already declared.
Typically called by mix mob.adopt, not directly.