Skip to content

Commit a9e72c4

Browse files
committed
fix comment
1 parent 8eb1764 commit a9e72c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py/reactpy/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ artifacts = ["js"]
110110
[[tool.hatch.build.hooks.build-scripts.scripts]]
111111
out_dir = "reactpy/_static"
112112
commands = [
113-
# link the js directory using python (e.g. if [ ! -d js ]; then ln -s ../../js js; fi)
113+
# link the js directory if it doesn't exist - use Python to avoid platform differences
114114
"python -c \"import pathlib as p;js=p.Path('js');js.exists() or js.symlink_to(p.Path('..','..','js'),target_is_directory=True);\"",
115115
"cd js && npm ci && npm run build; echo 'done'",
116116
]

0 commit comments

Comments
 (0)