]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - JavaScriptCore.vcxproj/testapi/testapiLauncherPreBuild.cmd
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / JavaScriptCore.vcxproj / testapi / testapiLauncherPreBuild.cmd
diff --git a/JavaScriptCore.vcxproj/testapi/testapiLauncherPreBuild.cmd b/JavaScriptCore.vcxproj/testapi/testapiLauncherPreBuild.cmd
new file mode 100644 (file)
index 0000000..4e5ccc5
--- /dev/null
@@ -0,0 +1,6 @@
+%SystemDrive%\cygwin\bin\which.exe perl >nul 2>nul
+if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
+cmd /c
+if exist "%CONFIGURATIONBUILDDIR%\buildfailed" perl -wnle "if (/XX%PROJECTNAME%XX/) { print } else { exit 1 }" "%CONFIGURATIONBUILDDIR%\buildfailed"
+if errorlevel 1 exit 1
+echo XX%PROJECTNAME%XX > "%CONFIGURATIONBUILDDIR%\buildfailed"