1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-06 00:38:46 +00:00
code-server-2/ci/dev/postinstall.sh
Teffen Ellis 2e106cc9b0 Add vscode via vendor package.
- Remove asar linking.
- Remove module lint check.
- Use yarn for vscode vendoring.
2021-09-10 12:34:18 -04:00

22 lines
399 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
echo 'Installing code-server test dependencies...'
cd test
yarn install
cd ..
cd vendor
echo 'Installing vendor dependencies...'
# Ignore scripts to prevent partial install which omits development dependencies.
yarn install --modules-folder modules --ignore-scripts
yarn run postinstall
}
main "$@"