mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-12-25 09:15:49 +08:00
bat
This commit is contained in:
22
build.bat
Normal file
22
build.bat
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
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 build src/Ocelot
|
||||
dotnet publish src/Ocelot -o artifacts/Ocelot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user