Skip to content

Commit

Permalink
Update postinstall scripts
Browse files Browse the repository at this point in the history
- updated the `postinstall` scripts for both `cortext-debug` and `cpp-debug`.
- updated the scripts as a workaround to a known yarn issue on windows
(yarnpkg/yarn#4564)

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Sep 20, 2019
1 parent 6c738d9 commit d315333
Show file tree
Hide file tree
Showing 3 changed files with 1,235 additions and 396 deletions.
2 changes: 1 addition & 1 deletion packages/cortex-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts"
],
"scripts": {
"postinstall": "yarn run download",
"postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"",
"prepare": "yarn run clean && yarn run build",
"download": "download-debug-adapters",
"clean": "theiaext clean",
Expand Down
2 changes: 1 addition & 1 deletion packages/cpp-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"src"
],
"scripts": {
"postinstall": "yarn run download",
"postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"",
"prepare": "yarn run clean && yarn run build",
"download": "download-debug-adapters",
"clean": "theiaext clean",
Expand Down
Loading

0 comments on commit d315333

Please sign in to comment.