Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
remove nodejsvars copy step
Browse files Browse the repository at this point in the history
  • Loading branch information
japj authored and piscisaureus committed Jun 4, 2012
1 parent cb24ce5 commit 3ea4957
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tools/msvs/msi/product.wxs
Expand Up @@ -65,7 +65,7 @@
</Component>
<?endif?>
<Component Id="nodejsvars" Guid="*">
<File Id="filenodejsvars" KeyPath="yes" Source="$(var.sourcedir)\nodejsvars.bat" />
<File Id="filenodejsvars" KeyPath="yes" Source="$(var.repoDir)\tools\msvs\nodejsvars.bat" />
</Component>
</Directory>
</Directory>
Expand Down
1 change: 0 additions & 1 deletion vcbuild.bat
Expand Up @@ -114,7 +114,6 @@ if errorlevel 1 echo Failed to generate license.rtf&goto exit
@rem Skip msi generation if not requested
if not defined msi goto run
python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt"
copy "%~dp0tools\msvs\nodejsvars.bat" %config%\nodejsvars.bat
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
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%config% /p:Platform=%msiplatform% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
Expand Down

0 comments on commit 3ea4957

Please sign in to comment.