Skip to content

Commit

Permalink
Add the dist directory to be cleaned as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Jul 12, 2024
1 parent ff2119e commit ac94117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/ui/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
js_dir = "src/js/"
dest_dir = os.path.join("src/deephaven/ui/_js")

# remove the build directory to ensure that the package is built from the latest js files
# remove the build/dist directory to ensure that the package is built from the latest js files
try:
shutil.rmtree("build")
shutil.rmtree("dist")
except FileNotFoundError:
pass

Expand Down

0 comments on commit ac94117

Please sign in to comment.