Skip to content

Commit

Permalink
fix: Make postinstall script work on Windows
Browse files Browse the repository at this point in the history
Split each `cd` call into one per directory so that we don't have any
directory separators, because separators are different on Windows than
Mac/Linux.
  • Loading branch information
AtkinsSJ committed May 1, 2024
1 parent 0b1f963 commit 622650e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"start": "node run-selfhosted.js",
"build": "node ./build.js",
"check-translations": "node tools/check-translations.js",
"postinstall": "cd packages/phoenix && cd packages/contextlink && npm install && cd - && cd packages/strataparse && npm install && cd - && cd packages/pty && npm install"
"postinstall": "cd packages && cd phoenix && cd packages && cd contextlink && npm install && cd - && cd strataparse && npm install && cd - && cd pty && npm install"
},
"workspaces": [
"packages/*"
Expand Down

0 comments on commit 622650e

Please sign in to comment.