2025-07-17 13:40:24 +02:00

16 lines
334 B
Python

import os
from pathlib import Path
ROOT_DIR=Path(os.path.abspath(__file__)).parent.parent
def marker_check(name):
fn = f"{ROOT_DIR}/build/.{name}_marker"
marker = Path(fn)
if (marker.is_file()):
return True
return False
def marker_set(name):
fn = f"{ROOT_DIR}/build/.{name}_marker"
Path(fn).touch()