Merge pull request #2473 from cdr/add-vscode-clean-script

feat(local development): add vscode:clean script
This commit is contained in:
Joe Previte 2020-12-15 15:38:01 -07:00 committed by GitHub
commit ff2ef35ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

12
ci/dev/reset-vscode.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
cd ./lib/vscode
git add -A
git reset --hard
}
main "$@"

View File

@ -13,6 +13,7 @@
"vscode": "./ci/dev/vscode.sh",
"vscode:patch": "./ci/dev/patch-vscode.sh",
"vscode:diff": "./ci/dev/diff-vscode.sh",
"vscode:reset": "./ci/dev/reset-vscode.sh",
"build": "./ci/build/build-code-server.sh",
"build:vscode": "./ci/build/build-vscode.sh",
"release": "./ci/build/build-release.sh",