Skip to content

Commit

Permalink
Fix: Build error for the latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jul 24, 2023
1 parent 673d93f commit 6a1d732
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ def make_bpy_rule(
def make_bgl_rule(
_: 'fbm.PackageGeneratorConfig') -> 'fbm.PackageGenerationRule':
files = glob.glob(INPUT_DIR + "/bgl*.rst")
mod_files = [
f"{MOD_FILES_DIR}/mods/generated_mods/gen_bgl_modfile/bgl.json"
.replace("\\", "/"),
]
mod_files = glob.glob(
f"{MOD_FILES_DIR}/mods/generated_mods/gen_bgl_modfile/*.json")
return fbm.PackageGenerationRule(
"bgl", files, fbm.AnalyzerWithModFile(mod_files), fbm.BaseGenerator())

Expand Down

0 comments on commit 6a1d732

Please sign in to comment.