Mercurial > wikked
view wk.py @ 444:2f68a463cb06
cm: Replace Grunt/RequireJS with Gulp/Browserify.
Yes, I know, this sounds like it's 2014 or something, and cool kids are now
actually on webpack or whatever.
Anyway, besides the change to a `gulpfile`, it also moves all dependencies
over to `npm` (via the `package.json` file), which cleans up the repository
nicely, and replaces awkward JS imports with simpler `require` statements.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 03 Jan 2018 00:51:59 -0800 |
parents | 2dd7535045eb |
children |
line wrap: on
line source
#!/usr/local/bin/python import sys import logging import colorama from wikked.witch import ColoredFormatter, main # Configure logging. colorama.init() root_logger = logging.getLogger() handler = logging.StreamHandler(stream=sys.stdout) handler.setFormatter(ColoredFormatter('%(message)s')) root_logger.addHandler(handler) if __name__ == "__main__": main()