Sha256: 07796900dab503967507f6d59e000308fbb7902c3c3e7bf83b5d9b5c236df8cd
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
require 'kde-build/command/module_based' require 'kde-build/tools/ctags.rb' module BuildTool class CTagsCommand < ModuleBasedCommand def initialize super( 'ctags', false ) self.short_desc = "Run ctags for the given modules." self.description = <<-"EOS" Runs the ctags command in the source directories of the given modules. The place to put the resulting tags file is taken from the config file. EOS #@update = true # self.options = CmdParse::OptionParserWrapper.new do |opt| # opt.separator "Options:" # opt.on( "--no-update", "Do not update from the repository" ) { |t| # @update = false # } # end end def is_module_ready( mod ) true end def execute_for_module( mod ) $log.info( "###############################################################" ) $log.info( "### Creating tags file for module #{mod.name}" ) $log.info( "###############################################################" ) CTags::run( mod.source_directory, "#{mod.name}.tags" ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
build-tool-0.0.3 | lib/kde-build/command/ctags.rb |