theia-ide / theia-apps

Theia applications examples - docker images, desktop apps, packagings
Apache License 2.0
1.04k stars 345 forks source link

swift: fix postinstall build error #434

Closed vince-fugnitto closed 3 years ago

vince-fugnitto commented 3 years ago

Description

The following pull-request fixes the theia-swift-docker build caused by the missing postinstall script for the sourcekit-lsp extension: https://github.com/apple/sourcekit-lsp/blob/6511ca732e5957f6ef4f48760e11e7c1643632dc/Editors/vscode/package.json#L23-L28

"scripts": {
    "vscode:prepublish": "npm run compile",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "createDevPackage": "npm install && ./node_modules/.bin/vsce package -o ./out/sourcekit-lsp-vscode-dev.vsix"
},

How to test

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

vince-fugnitto commented 3 years ago

@DukeNgn would you mind reviewing?