geolessel / vox

The static site builder for Elixir lovers
115 stars 4 forks source link

Quiet warnings during first pass of the compiler #3

Open geolessel opened 1 year ago

geolessel commented 1 year ago

Can we do the first pass in the compiler without generating warnings about unfound assigns? The first pass collects, using other builder terms, the frontmatter for the document and we ignore the actual generated output (only capturing the bindings). This unfortunately generates warnings during vox.build. Can we keep that from happening?

CleanShot 2023-08-10 at 20 02 02@2x
geolessel commented 1 year ago

I can use Mix.shell(Mix.Shell.Quiet)!

https://hexdocs.pm/mix/Mix.html#shell/1