From 71396f6a8f34057ac2b2e8fe9edfd78a81b575d6 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 10 Aug 2011 22:49:14 +0200 Subject: [PATCH] Polish create-msvs-files script --- create-msvs-files.bat | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/create-msvs-files.bat b/create-msvs-files.bat index 55667de9..a83358bc 100644 --- a/create-msvs-files.bat +++ b/create-msvs-files.bat @@ -1,14 +1,21 @@ -@REM Hello World +@echo off cd %~dp0 -IF EXIST %~dp0build\gyp GOTO WINDIR - +if exist build\gyp goto have_gyp +echo svn co http://gyp.googlecode.com/svn/trunk@983 build/gyp svn co http://gyp.googlecode.com/svn/trunk@983 build/gyp +if errorlevel 1 goto gyp_install_failed +goto have_gyp -:WINDIR - -@python gyp_uv +:gyp_install_failed +echo Failed to download gyp. Make sure you have subversion installed, or +echo manually install gyp into %~dp0build\gyp. +goto exit +:have_gyp +python gyp_uv +if not errorlevel 1 echo Done. +:exit