Skip to content

Commit

Permalink
try resolve first
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Feb 11, 2024
1 parent d416357 commit ce87674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/py/reactpy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ artifacts = ["js"]
out_dir = "reactpy/_static"
commands = [
# link the js directory if it doesn't exist - use Python to avoid platform differences
"python -c \"import pathlib as p;js=p.Path('js');js.exists() or js.symlink_to(p.Path('..','..','js'),target_is_directory=True);\"",
"ls -l js && cd js && npm ci && npm run build; echo 'done'",
"python -c \"import pathlib as p;js=p.Path('js');js.exists() or js.symlink_to(p.Path('..','..','js').resolve(),target_is_directory=True);\"",
"cd js && npm ci && npm run build; echo 'done'",
]
artifacts = ["js/app/dist/"]

Expand Down

0 comments on commit ce87674

Please sign in to comment.