otfmacros/pymacro
2019-01-25 17:38:18 +00:00
..
tests Change macros to conform to my own guidelines lol 2019-01-18 22:22:19 +00:00
macros Add ability to source from external macro files 2019-01-18 22:37:48 +00:00
pymacro update pymacro tests 2019-01-25 17:38:18 +00:00
readme.md update pymacro tests 2019-01-25 17:38:18 +00:00
test.sh update pymacro tests 2019-01-25 17:38:18 +00:00

pymacro

A python implementation of the macros spec

usage

usage: pymacro [-h] [-m MACROS] [-s] input output

positional arguments:
  input                 The file to be processed
  output                The location of the output

optional arguments:
  -h, --help            show this help message and exit
  -m MACROS, --macros MACROS
                        Extra files where macros are stored
  -q, --quiet           Do not print processed file

testing

Run test.sh. A diff is run on the actual output against what should have come out according to the spec.