Rakefile in uttk-0.3.6.1 vs Rakefile in uttk-0.4.5.0
- old
+ new
@@ -1,8 +1,25 @@
-# Author:: The Uttk Team. -*- ruby -*-
+# Author:: The Uttk eam. -*- ruby -*-
# Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved.
# License:: LGPL
-# Revision:: $Id: /fey/uttk/trunk/Rakefile 8778 2005-09-26T04:34:48.103938Z ertai $
+# Revision:: $Id: /w/fey/uttk/trunk/Rakefile 31169 2006-10-22T22:28:09.400880Z ertai $
require 'rubygems'
require_gem 'core_ex'
load 'core_ex/rakefile_base.rf'
+
+RTAGS = 'rtags'
+SRC = FileList['**/*.rb', 'bin/uttk', 'bin/uttk-unit']
+VIMTAGS = 'vim_tags'
+
+
+task :emacs_tags => [] do
+ sh "#{RTAGS} #{SRC}"
+end
+
+task :vim_tags => [] do
+ sh "#{RTAGS} --vi -f #{VIMTAGS} #{SRC}"
+end
+
+task :clean => [] do
+ sh "rm -f TAGS #{VIMTAGS}"
+end