latex-packages/build.py

16 lines
376 B
Python
Raw Normal View History

import sys
2021-10-18 15:55:52 +02:00
from pathlib import Path
2021-10-08 09:17:56 +02:00
from build_scripts.build import build
2021-10-06 23:10:06 +02:00
if __name__ == "__main__":
check_existence = True
if len(sys.argv) == 2:
if sys.argv[1] == '--only-new':
check_existence = False
2021-10-18 15:55:52 +02:00
build(
src_dir=Path('./src').resolve(),
build_dir=Path('./build').resolve(),
check_existence=check_existence
2021-10-18 15:55:52 +02:00
)