The checks mix composer.new makes before it creates anything, and
reports all at once:
- APP doesn't exist yet, unless
--resetis given - the
igniter_newarchive is installed, at 0.5.32 or later: that is the first release that takes--no-gitwithout also passing it to each--installpackage's installer - the
--withtask is available (phx.newneeds thephx_newarchive) gitis on the PATH
The lookups are functions in checks, so tests need no fakes on disk.
Summary
Functions
Checks plan. Returns {:ok, warnings} or {:error, problems}, each
a list of messages.
The minimum igniter_new version.
Types
Functions
@spec check(ComposerNew.Plan.t(), checks()) :: {:ok, [String.t()]} | {:error, [String.t()]}
Checks plan. Returns {:ok, warnings} or {:error, problems}, each
a list of messages.
@spec min_igniter_new() :: String.t()
The minimum igniter_new version.