Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always compile before running checks #43

Open
denisdefreyne opened this issue Jul 7, 2018 · 0 comments
Open

Always compile before running checks #43

denisdefreyne opened this issue Jul 7, 2018 · 0 comments
Labels

Comments

@denisdefreyne
Copy link
Member

(See nanoc/nanoc#1341)

It is currently possible to run nanoc check on a site that it out of date. To prevent nanoc check from running on a not-yet-compiled site, I suggest adding a compile option to the configuration’s check section, which by default is false, but if set to true, will run nanoc compile beforehand.

Additionally, a command-line flag (--compile/--no-compile) could be useful to override the configuration behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant