mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 23:35:54 +01:00
sessions - updates to selfhost setup (#298943)
* sessions - updates to selfhost setup * document more hooks
This commit is contained in:
16
.github/hooks/hooks.json
vendored
16
.github/hooks/hooks.json
vendored
@@ -4,7 +4,19 @@
|
||||
"sessionStart": [
|
||||
{
|
||||
"type": "command",
|
||||
"bash": "if [ -f ~/.vscode-worktree-setup ]; then nohup npm ci > /tmp/npm-ci-$(date +%Y-%m-%d_%H-%M-%S).log 2>&1 & fi"
|
||||
"bash": "if [ -f ~/.vscode-worktree-setup ]; then nohup bash -c 'npm ci && npm run compile' > /tmp/worktree-setup-$(date +%Y-%m-%d_%H-%M-%S).log 2>&1 & fi"
|
||||
}
|
||||
],
|
||||
"sessionEnd": [
|
||||
{
|
||||
"type": "command",
|
||||
"bash": ""
|
||||
}
|
||||
],
|
||||
"agentStop": [
|
||||
{
|
||||
"type": "command",
|
||||
"bash": ""
|
||||
}
|
||||
],
|
||||
"userPromptSubmitted": [
|
||||
@@ -26,4 +38,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user