ohai to generate output about features for my formula, like so:
if build.with? "vertica-support" depends_on "libiodbc" => :recommended ohai "Vertica support requires the Vertica ODBC driver and vsql" ohai " - Downloads: https://my.vertica.com/download/vertica/client-drivers/" ohai " - ODBC Docs: https://my.vertica.com/docs/9.1.x/HTML/index.htm#Authoring/ConnectingToVertica/InstallingDrivers/MacOSX/InstallingTheODBCDriverOnMacOSX.htm" end
So it nicely shows this output when I pass
--with-vertica-support — but, unfortunately, it does it several times. Is the class reloaded multiple times in a given run? Do I need to put such calls in the
install method? Or is there perhaps a method that gets called before or after
install into which I should put such info? If so, would I have to keep the
depends_on at the class level?