Sha256: 0af47f18cc02ff095147b7125a7c2a4c25d47722a9757176ffa089cfcfe1dd49

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
build-tool-0.0.3 lib/kde-build/command/install.rb