A python implementation of otfmacros
Go to file
2021-03-19 11:52:48 +00:00
tests update tests 2021-03-07 14:42:53 +00:00
config.mk first commit 2021-03-07 14:40:58 +00:00
macros first commit 2021-03-07 14:40:58 +00:00
Makefile first commit 2021-03-07 14:40:58 +00:00
otfm-python fix issue where otf macros aren't shown properly if they're not pluralized 2021-03-19 11:52:48 +00:00
readme.md update readme 2021-03-07 14:43:28 +00:00
test.sh update tests 2021-03-07 14:42:53 +00:00

pymacro

A python implementation of otfmacros.

usage

$ ./pymacro -h
usage: pymacro [-h] [-m MACROS_FILE] [-i INPUT] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -m MACROS_FILE, --macros-file MACROS_FILE
                        File where macros are stored (default: macros)
  -i INPUT, --input INPUT
                        File to be processed. (default: -)
  -o OUTPUT, --output OUTPUT
                        Path of output (default: -)

testing

Run test.sh. A diff is run on the actual output against what should have come out according to the spec. There should be no output if everything is working as expected.