Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- RESULT=$(grep -r -i --include \*.cs --include \*.cshtml --exclude Startup.cs --exclude /bin/\* --exclude /obj/\* --exclude /Configuration/\*.cs "Infrastructure.Namespace.Here" FolderNameHere)
- if [ -z "$RESULT" ]
- then
- echo $RESULT
- exit 1
- fi
- echo "No issues found."
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement