mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-20 05:38:15 +08:00
updated build scripts
This commit is contained in:
13
build.bat
13
build.bat
@ -1,22 +1,11 @@
|
||||
echo -------------------------
|
||||
|
||||
echo Running Ocelot.UnitTests
|
||||
|
||||
dotnet restore test/Ocelot.UnitTests/
|
||||
dotnet test test/Ocelot.UnitTests/
|
||||
|
||||
echo Running Ocelot.AcceptanceTests
|
||||
|
||||
cd test/Ocelot.AcceptanceTests/
|
||||
dotnet restore
|
||||
dotnet test
|
||||
cd ../../
|
||||
|
||||
echo Building Ocelot
|
||||
|
||||
dotnet restore src/Ocelot
|
||||
dotnet restore src/Ocelot.Library
|
||||
dotnet build src/Ocelot
|
||||
dotnet pack src/Ocelot/project.json --no-build --output nupkgs
|
||||
dotnet publish src/Ocelot -o site/wwwroot
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user