--- a/src/Tools/VSCode/src/build_vscode.scala Thu Mar 09 16:56:39 2017 +0100
+++ b/src/Tools/VSCode/src/build_vscode.scala Thu Mar 09 21:08:41 2017 +0100
@@ -64,8 +64,9 @@
val output_path = extension_dir + Path.explode("out")
progress.echo(output_path.implode)
- val cmd = "vsce " + (if (publish) "publish" else "package")
- progress.bash(cmd, cwd = extension_dir.file, echo = true).check
+ progress.bash(
+ "npm install && npm update --dev && vsce " + (if (publish) "publish" else "package"),
+ cwd = extension_dir.file, echo = true).check
}