()
| 66 | |
| 67 | |
| 68 | def load_all_rules(): |
| 69 | result = [] |
| 70 | for file in os.listdir("rules"): |
| 71 | if file.endswith(".yml"): |
| 72 | result.append( |
| 73 | yaml.load(open(os.path.join("rules", file), "r"), Loader=yaml.FullLoader)) |
| 74 | return result |
| 75 | |
| 76 | |
| 77 | def compile_project(abs_path:str): |