Conveniences for writing steps.
Summary
Functions
Returns the camelized app module name (e.g. "MyApp").
Returns the app's web module name (e.g. "MyAppWeb").
Generates a migration with a unique timestamp.
Returns the app's Repo module (e.g. MyApp.Repo).
Updates a file's content, adding a loud warning instead of silently no-oping when the transformation changes nothing or the file is missing.
Updates a file's raw content with a transformation function.
Functions
Returns the camelized app module name (e.g. "MyApp").
Returns the app's web module name (e.g. "MyAppWeb").
Generates a migration with a unique timestamp.
Tracks timestamps in igniter assigns to avoid duplicates when multiple migrations are created within the same second.
Returns the app's Repo module (e.g. MyApp.Repo).
Updates a file's content, adding a loud warning instead of silently no-oping when the transformation changes nothing or the file is missing.
Steps that pattern-match against phx.new output should use this so that
drift in Phoenix's generators surfaces as a warning instead of silence.
Updates a file's raw content with a transformation function.