diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2017-05-31 08:53:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 08:53:47 -0700 |
commit | a2abadfe7f67249cbe2b107d0b3f1b8d6f2ee06b (patch) | |
tree | 3aab3e9d572aec4f1f174ca1bb10ba7ccd2b0a40 /build.cmd | |
parent | 3530e3f5751f4b0e12b8f45bf7fe2a2a309cfebb (diff) | |
download | coreclr-a2abadfe7f67249cbe2b107d0b3f1b8d6f2ee06b.tar.gz coreclr-a2abadfe7f67249cbe2b107d0b3f1b8d6f2ee06b.tar.bz2 coreclr-a2abadfe7f67249cbe2b107d0b3f1b8d6f2ee06b.zip |
Default to portable build in dev and official builds (#11985)
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -97,9 +97,6 @@ set __BuildPackages=1 set __BuildNativeCoreLib=1 set __RestoreOptData=1 -REM Is this a portable build? -set __IsPortableBuild= - :Arg_Loop if "%1" == "" goto ArgsDone @@ -117,8 +114,6 @@ if /i "%1" == "debug" (set __BuildTypeDebug=1&set processedArgs=!p if /i "%1" == "checked" (set __BuildTypeChecked=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) if /i "%1" == "release" (set __BuildTypeRelease=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) -if /i "%1" == "-portable" (set __IsPortableBuild=-portable&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) - REM All arguments after this point will be passed through directly to build.cmd on nested invocations REM using the "all" argument, and must be added to the __PassThroughArgs variable. if [!__PassThroughArgs!]==[] ( @@ -468,7 +463,7 @@ if %__BuildPackages% EQU 1 ( set __MsbuildErr=/flp2:ErrorsOnly;LogFile="%__LogsDir%\Nuget_%__BuildOS%__%__BuildArch%__%__BuildType%.err" REM The conditions as to what to build are captured in the builds file. - @call %__ProjectDir%\run.cmd build -Project=%__SourceDir%\.nuget\packages.builds %__IsPortableBuild% -platform=%__BuildArch% -MsBuildLog=!__MsbuildLog! -MsBuildWrn=!__MsbuildWrn! -MsBuildErr=!__MsbuildErr! %__RunArgs% %__UnprocessedBuildArgs% + @call %__ProjectDir%\run.cmd build -Project=%__SourceDir%\.nuget\packages.builds -platform=%__BuildArch% -MsBuildLog=!__MsbuildLog! -MsBuildWrn=!__MsbuildWrn! -MsBuildErr=!__MsbuildErr! %__RunArgs% %__UnprocessedBuildArgs% if not !errorlevel! == 0 ( echo %__MsgPrefix%Error: Nuget package generation failed build failed. Refer to the build log files for details: |