# Author::    The Uttk eam.                                        -*- ruby -*-
# Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved.
# License::   LGPL
# Revision::  $Id: /w/fey/uttk/trunk/Rakefile 62613 2007-08-15T21:02:48.619030Z ertai  $

require 'rubygems'
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