Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Trying to make a compilation check before deploy, got warnings I don't understand #1341
So, as I always forget to compile my blog before deploying it (resulting in me deploying, checking my site, seeing I didn't compiled, feeling dumb, compiling, redeploying)
So, my check goes like this :
Nanoc::Check.define(:has_been_compiled) do Nanoc::CLI.run(["compile"]) end
But I have those warnings (along with the compilation errors I talked about in #1338):
So, yeah :/
The warnings happen because, at this point, Nanoc expects
As for running
What about using a Nanoc command or - even easier - a shell alias for deploying?
Do either of you have opinions around how you’d like this to work, or look like?
Some of my ideas: