mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 04:35:25 +00:00
feat: add vscode:clean script
This commit is contained in:
parent
9fb661d91e
commit
faeed81d43
12
ci/dev/reset-vscode.sh
Executable file
12
ci/dev/reset-vscode.sh
Executable 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 "$@"
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user