mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
win32 tfs builds
This commit is contained in:
@@ -47,6 +47,7 @@ const indentationFilter = [
|
||||
'**',
|
||||
'!ThirdPartyNotices.txt',
|
||||
'!**/*.md',
|
||||
'!**/*.ps1',
|
||||
'!**/*.template',
|
||||
'!**/*.yml',
|
||||
'!**/lib/**',
|
||||
|
||||
5
build/tfs/win32/compile-win32.ps1
Normal file
5
build/tfs/win32/compile-win32.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
. .\lib.ps1
|
||||
|
||||
exec { & .\scripts\npm.bat install }
|
||||
exec { & npm run gulp -- mixin }
|
||||
exec { & npm run gulp -- --max_old_space_size=4096 vscode-win32-min }
|
||||
10
build/tfs/win32/lib.ps1
Normal file
10
build/tfs/win32/lib.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
# stop when there's an error
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
# throw when a process exits with something other than 0
|
||||
function exec([scriptblock]$cmd, [string]$errorMessage = "Error executing command: " + $cmd) {
|
||||
& $cmd
|
||||
if ($LastExitCode -ne 0) {
|
||||
throw $errorMessage
|
||||
}
|
||||
}
|
||||
5
build/tfs/win32/test-win32.ps1
Normal file
5
build/tfs/win32/test-win32.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
. .\lib.ps1
|
||||
|
||||
exec { & npm run gulp -- electron }
|
||||
exec { & .\scripts\test.bat --build --reporter dot }
|
||||
# exec { & .\scripts\test-integration.bat }
|
||||
@@ -16,7 +16,8 @@
|
||||
"watch": "gulp watch --max_old_space_size=4096",
|
||||
"monaco-editor-setup": "node scripts/monaco-editor-setup.js",
|
||||
"monaco-editor-test": "mocha --only-monaco-editor",
|
||||
"precommit": "node build/gulpfile.hygiene.js"
|
||||
"precommit": "node build/gulpfile.hygiene.js",
|
||||
"gulp": "gulp"
|
||||
},
|
||||
"dependencies": {
|
||||
"applicationinsights": "0.17.1",
|
||||
|
||||
Reference in New Issue
Block a user