Skip to content

Commit

Permalink
Fix inv cog to fail if cog-code was manually changed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Feb 4, 2025
1 parent fbf1ab2 commit a2fbd91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def cog(ctx, check=False):
- on `_internal/alfacase/schema.py` to generate the schema for strictyaml;
- generate some documentation files;
"""
ctx.run(command=f"cog -rc {case_description_source_file_path()}", warn=True)
ctx.run(command=f"cog -rc {schema_file_path()}", warn=True)
ctx.run(command=f"cog -rc {case_description_source_file_path()}")
ctx.run(command=f"cog -rc {schema_file_path()}")

from alfasim_sdk._internal.alfacase.case_description import CaseDescription
from alfasim_sdk._internal.alfacase.generate_case_description_docstring import (
Expand Down

0 comments on commit a2fbd91

Please sign in to comment.