summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-11-22 16:10:32 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-11-22 17:59:18 -0800
commite5cf3f9751c32143e898bf1cd818d42a4f6f1407 (patch)
tree50cc49dd6cfbbbc3322dabcdaad2290c8fd3e5a1 /vcbuild.bat
parent3ab15cde2516564a2bc4fe6246fe447f07752ed4 (diff)
downloadnode-e5cf3f9751c32143e898bf1cd818d42a4f6f1407.tar.gz
Fixes #2083. Support installing npm in the .msi
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 709d71ce7..8bd93164a 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -83,6 +83,7 @@ if not defined msi goto run
python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt"
if not errorlevel 0 echo Cannot determine current version of node.js & goto exit
for /F "tokens=*" %%i in (%temp%\node_version.txt) do set NODE_VERSION=%%i
+heat dir deps\npm -var var.NPMSourceDir -dr NodeModulesFolder -cg NPMFiles -gg -template fragment -nologo -out npm.wxs
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /t:Clean,Build /p:Configuration=%config% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
if errorlevel 1 goto exit