nanoc / features

Collection of feature requests
2 stars 1 forks source link

Configure checks in nanoc.yaml #27

Closed denisdefreyne closed 6 years ago

denisdefreyne commented 6 years ago

Custom check definitions and the configuration for checks currently live in the Checks file, e.g.

deploy_check :internal_links

check :foo do
  …
end

This is inconsistent with other parts of Nanoc, which are configured in nanoc.yaml and defined in lib. Perhaps this makes more sense:

checks:
  deploy:
    - internal_links
Nanoc::Check.define(:blah) do
  …
end
denisdefreyne commented 6 years ago

This is done, as of Nanoc 4.9.