Hi Petr,
I checked your new version of templater - it looks and works quite nice! I want to use the checker now to see which files need to be “normalized” in regard to the template structure. For example many namespaces are closed like this:
} // namespace Package;
instead of
} // Package
but all could easily be fixed using a regexp.
I’ve renamed templatesChecker.py and templatesGenerator.py to checker.py and generator.py because using camel case for a command-line script looks kind of weird to me and the hyphen is forbidden for Python module names. Maybe you could have a look at developers/peter/calitko-templates.
I’ve also changed the default location value for the templates location to templater/Templates so that I could call the scrips from the project root like that:
templater/checker.py Protocols/BitTorrent/Packets/Have
unfortunately that breaks templater/templaterTester.py - maybe you could have a look?
It might be nice as well to have a switch for short messages - e.g. only saying include guards not found. That could actually be the default and the option would be –long-messages for example… just an idea.
Regards,
Peter
