forked from Etamus/NeveCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.ps1
More file actions
26 lines (24 loc) · 778 Bytes
/
deploy.ps1
File metadata and controls
26 lines (24 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Deploy extensao NeveCode para a extensao instalada no VS Code
$src = Join-Path $PSScriptRoot "vscode-extension\nevecode-vscode\src"
$dst = "C:\Users\Administrador\.vscode\extensions\devnull-bootloader.nevecode-vscode-0.2.0\src"
$files = @(
"chat\chatRenderer.js",
"chat\chatProvider.js",
"chat\sessionManager.js",
"chat\messageParser.js",
"chat\diffController.js",
"chat\processManager.js",
"chat\protocol.js",
"extension.js",
"presentation.js",
"state.js"
)
foreach ($f in $files) {
$srcPath = Join-Path $src $f
$dstPath = Join-Path $dst $f
if (Test-Path $srcPath) {
Copy-Item $srcPath $dstPath -Force
Write-Host "OK: $f"
}
}
Write-Host "`nDeploy concluido! Faca Developer: Reload Window no VS Code."