Corrected typos in build.cmd and devbuild.cmd.
This commit is contained in:
Родитель
101e4ced4f
Коммит
73977ca702
26
build.cmd
26
build.cmd
|
@ -1,16 +1,16 @@
|
|||
REM Restor the solution
|
||||
REM Restore the solution.
|
||||
dotnet restore
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM build the functions sdk.
|
||||
REM Build the functions sdk.
|
||||
dotnet build src\Microsoft.NET.Sdk.Functions.MSBuild --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM build the functions generator
|
||||
REM Build the functions generator.
|
||||
dotnet build src\Microsoft.NET.Sdk.Functions.Generator --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Pack the functions sdk
|
||||
REM Pack the functions sdk.
|
||||
dotnet pack pack\Microsoft.NET.Sdk.Functions --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
|
@ -18,7 +18,7 @@ REM Remove the functions sdk in the user profile so that the built sdk will be r
|
|||
rmdir /S /Q %userprofile%\.nuget\packages\microsoft.net.sdk.functions
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Restore the NuGet.exe
|
||||
REM Restore the NuGet.exe.
|
||||
dotnet restore sample\NuGet\NuGet.csproj
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
|
@ -33,15 +33,15 @@ REM Build the sample NETFramework solution.
|
|||
msbuild sample\FunctionAppNETFramework\FunctionAppNETFramework.sln /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETFramework functon app using the publish target (full framework msbuild).
|
||||
REM Publish the sample .NETFramework function app using the publish target (full framework msbuild).
|
||||
msbuild sample\FunctionAppNETFramework\FunctionAppNETFramework\FunctionAppNETFramework.csproj /t:Publish /p:PublishDir="bin\Release\dotnetpublishoutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETFramework functon app using DeployOnBuild (full framework msbuild).
|
||||
REM Publish the sample .NETFramework function app using DeployOnBuild (full framework msbuild).
|
||||
msbuild sample\FunctionAppNETFramework\FunctionAppNETFramework\FunctionAppNETFramework.csproj /p:DeployOnBuild=true /p:PublishUrl="bin\Release\deployOnBuildOutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Run tests on .NETFramework projects
|
||||
REM Run tests on .NETFramework projects.
|
||||
|
||||
dotnet test sample\FunctionAppNETFramework\UnitTestProject2\UnitTestProject2.csproj --configuration=Release --no-build
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
@ -49,7 +49,7 @@ if errorlevel 1 GOTO ERROR
|
|||
dotnet test sample\FunctionAppNETFramework\XUnitTestProject1\XUnitTestProject1.csproj --configuration=Release --no-build
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM run tests on unit test projects that references the functions project.
|
||||
REM Run tests on unit test projects that references the functions project.
|
||||
dotnet test sample\FunctionAppNETFramework\UnitTestProject1\UnitTestProject1.csproj --configuration=Release --no-build
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
|
@ -65,19 +65,19 @@ REM Build the sample NETStandard solution.
|
|||
msbuild sample\FunctionAppNETStandard\FunctionAppNETStandard.sln /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETStandard functon app using the publish target (core msbuild).
|
||||
REM Publish the sample .NETStandard function app using the publish target (core msbuild).
|
||||
dotnet build sample\FunctionAppNETStandard\FunctionAppNETStandard\FunctionAppNETStandard.csproj /t:Publish /p:PublishDir="bin\Release\core\dotnetpublishoutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETStandard functon app using DeployOnBuild (core msbuild).
|
||||
REM Publish the sample .NETStandard function app using DeployOnBuild (core msbuild).
|
||||
dotnet build sample\FunctionAppNETStandard\FunctionAppNETStandard\FunctionAppNETStandard.csproj /p:DeployOnBuild=true /p:PublishUrl="bin\Release\core\deployOnBuildOutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETStandard functon app using the publish target (full framework msbuild).
|
||||
REM Publish the sample .NETStandard function app using the publish target (full framework msbuild).
|
||||
msbuild sample\FunctionAppNETStandard\FunctionAppNETStandard\FunctionAppNETStandard.csproj /t:Publish /p:PublishDir="bin\Release\full\dotnetpublishoutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Publish the sample .NETStandard functon app using DeployOnBuild (full framework msbuild).
|
||||
REM Publish the sample .NETStandard function app using DeployOnBuild (full framework msbuild).
|
||||
msbuild sample\FunctionAppNETStandard\FunctionAppNETStandard\FunctionAppNETStandard.csproj /p:DeployOnBuild=true /p:PublishUrl="bin\Release\full\deployOnBuildOutput" /p:configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
REM Restor the solution
|
||||
REM Restore the solution.
|
||||
dotnet restore
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM build the functions sdk.
|
||||
REM Build the functions sdk.
|
||||
dotnet build src\Microsoft.NET.Sdk.Functions.MSBuild --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM build the functions generator
|
||||
REM Build the functions generator.
|
||||
dotnet build src\Microsoft.NET.Sdk.Functions.Generator --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
REM Pack the functions sdk
|
||||
REM Pack the functions sdk.
|
||||
dotnet pack pack\Microsoft.NET.Sdk.Functions --configuration=Release
|
||||
if errorlevel 1 GOTO ERROR
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче