Created
July 6, 2017 17:54
-
-
Save egernst/f138cd954e475016b192e5e7356b6ff9 to your computer and use it in GitHub Desktop.
cscope and go
This file contains hidden or 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 | |
go_src=$GOPATH/src | |
find $go_src -name "*.go" -print > cscope.files | |
if cscope -b -k; then | |
echo "Done" | |
else | |
echo "Failed" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment