require 'kde-build/command/module_based' module BuildTool class InstallCommand < ModuleBasedCommand def initialize super( 'install', false ) self.short_desc = "Install the modules." self.description = <<-"EOS" Install the given modules. 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( "### Installing module #{mod.name}" ) $log.info( "###############################################################" ) mod.build( true ) end end end