Created
October 20, 2013 08:28
-
-
Save goooooouwa/7066464 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/bash | |
### this script use ctags installed by Homebrew to generate tags for all gems specified in your Rails project's gemfile. | |
# `brew --prefix` display the install path of brew | |
# generate tags for all gems specified in the gemfile. | |
bundle show --paths | xargs `brew --prefix`/bin/ctags -R | |
# index the tags and append the tags for your project run | |
`brew --prefix`/bin/ctags -R -a * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment