Skip to content

Commit

Permalink
allow for ibek output folders to pre-exist
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Nov 9, 2023
1 parent 2e7a0a9 commit 21889bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ibek/runtime_cmds/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def generate(

# Clear out generated files so developers know if something stop being generated
shutil.rmtree(PVI_OUTPUT_PATH, ignore_errors=True)
PVI_OUTPUT_PATH.mkdir()
PVI_OUTPUT_PATH.mkdir(exist_ok=True)
shutil.rmtree(OPI_OUTPUT_PATH, ignore_errors=True)
OPI_OUTPUT_PATH.mkdir()
OPI_OUTPUT_PATH.mkdir(exist_ok=True)

pvi_index_entries, pvi_databases = generate_pvi(ioc_instance)
generate_index(ioc_instance.ioc_name, pvi_index_entries)
Expand Down

0 comments on commit 21889bd

Please sign in to comment.