Use DOS for all cygwin commands.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-30 10:10:59 +02:00
parent 154418a63a
commit cb1d60e5ac

View File

@ -330,8 +330,8 @@ before_build:
after_build:
- ps: |
$line='-------------------------------------------------------------------------------------';
$find='c:\cygwin\bin\find.exe';
$arg1="$env:POCO_BASE -type f -name '*.cpp' -exec c:\cygwin\bin\grep -n -H ";
$find='find.exe';
$arg1="$env:POCO_BASE -type f -name '*.cpp' -exec grep -n -H ";
$arg2=" {} ;"
$word='FIXME'
@ -376,15 +376,9 @@ build_script:
#
# Command executed with exception: MC: Compiling C:/projects/poco/Foundation/src/pocomsg.mc
# -------------------------------------------------------------------------------------------
- if %builder%==cygwin (
- bash.exe configure --everything & make.exe -s
- )
# -------------------------------------------------------------------------------------------
# if (($env:builder -eq "cygwin") -and ($env:platform -eq "Win32"))
# {
# $cmd = 'bash.exe configure --everything';iex "& $cmd"
# $cmd = 'make.exe -s';iex "& $cmd" }
# -------------------------------------------------------------------------------------------
- if "%builder%"=="cygwin" (
bash.exe configure --everything & make.exe -s)
- ps: |
if ($env:builder -eq "msbuild")
{