Skip to content

Instantly share code, notes, and snippets.

@egernst
Created July 6, 2017 17:54
Show Gist options
  • Save egernst/f138cd954e475016b192e5e7356b6ff9 to your computer and use it in GitHub Desktop.
Save egernst/f138cd954e475016b192e5e7356b6ff9 to your computer and use it in GitHub Desktop.
cscope and go
#!/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