Skip to content

Commit

Permalink
perf: add a rewrite task to invoke tasklist
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Nov 6, 2024
1 parent 7e3cd94 commit d5355e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ozi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,9 @@ def publish(c: Context, ozi: bool = False) -> None:
c.run('psr publish')
c.run('twine check dist/*')
c.run('twine upload dist/*')


@task
def rewrite(c: Context, command: str) -> None:
"""Interactive mode entrypoint for meson rewrite."""
c.run(f'meson rewrite {command}')

0 comments on commit d5355e0

Please sign in to comment.