1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

feat: add vscode:clean script

This commit is contained in:
Joe Previte 2020-12-15 12:40:44 -07:00
parent 9fb661d91e
commit faeed81d43
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
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": "./ci/dev/vscode.sh",
"vscode:patch": "./ci/dev/patch-vscode.sh", "vscode:patch": "./ci/dev/patch-vscode.sh",
"vscode:diff": "./ci/dev/diff-vscode.sh", "vscode:diff": "./ci/dev/diff-vscode.sh",
"vscode:reset": "./ci/dev/reset-vscode.sh",
"build": "./ci/build/build-code-server.sh", "build": "./ci/build/build-code-server.sh",
"build:vscode": "./ci/build/build-vscode.sh", "build:vscode": "./ci/build/build-vscode.sh",
"release": "./ci/build/build-release.sh", "release": "./ci/build/build-release.sh",