#!/bin/sh
dotnet restore --verbosity minimal
dotnet build src/API
dotnet test tests/API.Tests
dotnet publish src/API

#!/bin/sh
dotnet restore --verbosity minimal || exit 1
dotnet build src/API || exit 1
dotnet test tests/API.Tests || exit 1
dotnet publish src/API || exit 1

Exit on first command failure
Exit on first command failure
