From nicolas.despres at gmail.com Sat Nov 18 15:13:52 2006 From: nicolas.despres at gmail.com (=?ISO-8859-1?Q?Nicolas_Despr=E8s?=) Date: Sat, 18 Nov 2006 21:13:52 +0100 Subject: [Uttk-Patches] [UTTK] 854: Add tags rules. Message-ID: <840b875c0611181213r65e5e4afm544b2fdd31c827e2@mail.gmail.com> svn://svn.feydakins.org/ttk/trunk You can also view this changeset here: http://dev.uttk.org/repository/changesets/<%= rev %> Index: ChangeLog from Nicolas Despr?s Add tags rules. * Rakefile: Add emacs_tags, vim_tags and clean rules. Rakefile | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletion(-) Index: Rakefile --- Rakefile (revision 853) +++ Rakefile (working copy) @@ -1,4 +1,4 @@ -# Author:: The Uttk Team. -*- ruby -*- +# Author:: The Uttk eam. -*- ruby -*- # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved. # License:: LGPL # Revision:: $Id$ @@ -6,3 +6,20 @@ 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 -- Nicolas Despr?s _______________________________________________ Uttk-Patches mailing list Uttk-Patches at lists.feydakins.org http://mailman.feydakins.org/mailman/listinfo/uttk-patches