scaffold-package-command icon indicating copy to clipboard operation
scaffold-package-command copied to clipboard

Fail build when scaffolded README is out of date

Open danielbachhuber opened this issue 8 years ago • 0 comments

In our default scaffolded bin/test.sh, we should have some feature for failing the build when the scaffolded README is out of date.

Functionally, we'd test this by running wp package install wp-cli/scaffold-package-command && wp scaffold package-readme ./ --force, and then erring if any README changes were detected.

However, we'll want to be respectful of packages that only use scaffold package-readme once, so maybe this shouldn't be default behavior.

danielbachhuber avatar Jun 19 '17 19:06 danielbachhuber