mix client_utils.gen.loop_recipes (client_utils v0.7.3)
View SourceWrites loop.just beside the project's justfile: the recipes the
CodeMySpec loop calls (copy-setup, copy-teardown, run, certify).
mix client_utils.gen.loop_recipesRun it again after upgrading client_utils to take the new recipes; it
overwrites loop.just and never touches justfile. The justfile needs
these two lines, once, and may then define any of the recipes itself to
replace the shared one:
set allow-duplicate-recipes
import 'loop.just'A justfile that also imports client_utils' ci.just imports loop.just
first: of two imports defining one recipe, the first wins, and ci.just's
certify runs only the static checks.
The base recipes suit a Phoenix app with spex: copy-setup installs
assets/' npm packages when assets/package.json exists, and run and
certify run mix assets.build before the spex when mix.exs defines that
alias. A project with neither runs none of it.