Created
April 28, 2023 11:38
-
-
Save jmfloreszazo/64bc8e3ca819553510c1dce15a81eaf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd "././app" # change to SLN route | |
echo "dotnet build" | |
dotnet clean | |
dotnet build | |
rc=$? | |
if [[ $rc != 0 ]] ; then | |
echo -e "build failed" | |
exit $rc | |
fi | |
echo "dotnet test" | |
dotnet test | |
rc=$? | |
if [[ $rc != 0 ]] ; then | |
echo -e "test failed" | |
exit $rc | |
fi | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment