Skip to content
Snippets Groups Projects
Commit 0c81f759 authored by Ralf Mueller's avatar Ralf Mueller
Browse files

Add generation of ctags database for cdo/cdi

parent 05a11d41
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,13 @@ task :default do |t|
sh "rake -sT"
end
desc "generate tags data base for vim amd emacs"
task :tags do |t|
srcFiles = Dir.glob("src/**/*.{h,c}") + Dir.glob("libcdi/**/*.{c,h,cpp,hpp,f90,f}")
Parallel.map(["","-e"]) {|ctagsOutputMode|
sh "ctags #{ctagsOutputMode} #{srcFiles.join(' ')}"
}
end
# check connections {{{
task :checkConnections do |t|
pp Parallel.map(@userConfig["hosts"]) {|host, config|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment