-
-
Save brandongregoryscott/134f20c521cc964aadd21fe5d7acd20b to your computer and use it in GitHub Desktop.
Example bash function - restoreDotnetSolution
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/bash | |
DOTNET_SOLUTION_FILE_PATH=/home/brandon/projects/DotnetExample | |
# Restores dotnet solution nuget dependencies | |
restoreDotnetSolution() { | |
echo "Running dotnet restore on the solution..." | |
dotnet restore $DOTNET_SOLUTION_FILE_PATH | |
echo "Dotnet solution restored" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment