summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2012-05-10 19:12:00 +0200
committerFlorian Frank <flori@ping.de>2012-05-10 19:12:00 +0200
commitedd8bcb178c20d0682b02da95915e23b313a5bd4 (patch)
tree400d63e41444d50869eee2bd4328ed4eefc3c390 /Rakefile
parent73ecb8687ab2ff4c19f3cd503762aa63ea9ea2a1 (diff)
downloadjson-edd8bcb178c20d0682b02da95915e23b313a5bd4.tar.gz
Add task to create tags file
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index fb47dc2..a7cc6eb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -343,6 +343,11 @@ else
rm_rf EXT_PARSER_SRC
end
+ desc "Update the tags file"
+ task :tags do
+ system 'ctags', *Dir['**/*.{rb,c,h,java}']
+ end
+
file EXT_PARSER_SRC => RAGEL_PATH do
cd EXT_PARSER_DIR do
if RAGEL_CODEGEN == 'ragel'