Sha256: 6f394bea0cb21d51b19c0d49a83123201f67b0fdab35b9cd28992fcb2935e703
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
require 'build-tool/application' require 'build-tool/commands' module BuildTool; module Commands; class CtagsError < BuildTool::Error; end # # BuildCommand # class Install < ModuleBasedCommand include MJ::Tools::SubProcess name "install" description "install the module" def initialize_options @fast = false options.on( "--fast", "Fast install. No compile (if supported)" ) { |t| @fast = t } super end def applicable? BuildTool::Application.instance.name != "build-tool" end def is_module_ready?( mod ) isready = true if !mod.checkedout? logger.warn "#{mod.name}: module not checked out -> skipping." end return isready end def do_execute_module( mod ) if mod.checkedout? mod.install( @log_directory, @fast ) else logger.info "Not checked out. Skipping" end end end # class Build end; end # module BuildTool::Commands
Version data entries
5 entries across 5 versions & 1 rubygems