Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Add upload command to vcbuild.bat

  • Loading branch information...
ry committed Nov 11, 2011
1 parent 895fa3a commit 2af643161965182b8e19f7f2afa32c47cf0dcac4
Showing with 16 additions and 0 deletions.
  1. +16 −0 vcbuild.bat
@@ -19,6 +19,7 @@ set nobuild=
set test=
set test_args=
set msi=
set upload=

if "%1"=="" goto args-done
@@ -35,10 +36,12 @@ if /i "%1"=="test-message" set test=test-message&goto arg-ok
if /i "%1"=="test-all" set test=test-all&goto arg-ok
if /i "%1"=="test" set test=test&goto arg-ok
if /i "%1"=="msi" set msi=1&goto arg-ok
if /i "%1"=="upload" set upload=1&goto arg-ok
goto next-arg
if defined upload goto upload

@@ -103,6 +106,19 @@ goto exit
echo Failed to create vc project files.
goto exit

echo uploading .exe .msi .pdb to
python "%~dp0tools\" > "%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
@echo on
ssh mkdir -p web/
scp Release\node.msi
scp Release\node.exe
scp Release\node.pdb
@echo off
goto exit

echo vcbuild.bat [debug/release] [msi] [test-all/test-uv/test-internet/test-pummel/test-simple/test-message] [clean] [noprojgen] [nobuild]
echo Examples:

0 comments on commit 2af6431

Please sign in to comment.
You can’t perform that action at this time.