2021-10-18 16:27:20 +02:00
|
|
|
import sys
|
2021-10-18 15:55:52 +02:00
|
|
|
from pathlib import Path
|
2021-10-08 09:17:56 +02:00
|
|
|
|
2021-10-18 16:27:20 +02:00
|
|
|
from build_scripts.build import build
|
|
|
|
|
2021-10-06 23:10:06 +02:00
|
|
|
if __name__ == "__main__":
|
2021-10-18 16:27:20 +02:00
|
|
|
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(),
|
2021-10-18 16:27:20 +02:00
|
|
|
build_dir=Path('./build').resolve(),
|
|
|
|
check_existence=check_existence
|
2021-10-18 15:55:52 +02:00
|
|
|
)
|