Skip to content

Commit b6385d2

Browse files
committed
simplify build script
1 parent d1727dc commit b6385d2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/py/reactpy/scripts/copy_js_output.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
output_dir = Path(__file__).parent.parent / "reactpy" / "_static"
55
source_dir = Path(__file__).parent.parent.parent.parent / "js" / "app" / "dist"
6-
7-
# Remove the output directory if it exists
86
rmtree(output_dir, ignore_errors=True)
9-
10-
# Copy the source directory to the output directory
117
copytree(source_dir, output_dir)
12-
138
print("JavaScript output copied to reactpy/_static")

0 commit comments

Comments
 (0)