Skip to content

Instantly share code, notes, and snippets.

Created July 25, 2011 03:17
What would you like to do?
Rakefile for generating Arduino ctags
desc "Generate Arduino code tags"
task :tags do
sh %{ctags -f tags.cpp `find . -name "*.cpp" -o -name "*.h"`}
sh %{ctags -f tags.pde --langmap=c++:.pde `find . -name "*.pde"`}
sh %{cat tags.cpp tags.pde > tags}
sh %{sort tags -o tags}
rm_f Dir["tags.*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment