Ocelot/build.bat
TomPallister 1fcc0c20d3 bat
2016-10-12 21:08:06 +01:00

23 lines
380 B
Batchfile

#!/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