예제 #1
0
def gen_python_enums_module() -> None:
    """Update our procedurally generated python enums."""
    from batools.pythonenumsmodule import generate
    if len(sys.argv) != 4:
        raise Exception('Expected infile and outfile args.')
    generate(projroot=str(PROJROOT),
             infilename=sys.argv[2],
             outfilename=sys.argv[3])
예제 #2
0
def genchangelog() -> None:
    """Gen a pretty html changelog."""
    from batools.changelog import generate
    generate(projroot=str(PROJROOT))