Sha256: 76a437242467f550f50978a94a58e549526b5a4aa77639b40a61af1accc73489
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
require 'kde-build/command/module_based' module BuildTool class ConfigureCommand < ModuleBasedCommand def initialize super( 'configure', false ) self.short_desc = "Configure 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 ) skip = false if !mod.checkedout? $log.error("Module #{mod.name} is not checkedout and will be skipped!") skip = true end !skip end def execute_for_module( mod ) $log.info( "###############################################################" ) $log.info( "### Configure the module #{mod.name}" ) $log.info( "###############################################################" ) if mod.configured? mod.reconfigure else mod.configure end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
build-tool-0.0.3 | lib/kde-build/command/configure.rb |