Sha256: 42d92229854bedc66b9c545a0b153e5eb2e2383ffdc54a06c853a0dc8e2721c7

Contents?: true

Size: 508 Bytes

Versions: 8

Compression:

Stored size: 508 Bytes

Contents

require 'blocks/has_execute_command'

module Bake
  module Blocks
    
    class CommandLine
      include HasExecuteCommand
      
      def initialize(config, referencedConfigs)
        @config = config # Bake::Metamodel::CommandLine
        @commandLine = config.name
        @projectDir = config.get_project_dir
      end
      
      def execute
        executeCommand(@commandLine)
      end
      def clean
        # nothing to do here
      end
      
    end
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bake-toolkit-2.5.0 lib/blocks/commandLine.rb
bake-toolkit-2.4.4 lib/blocks/commandLine.rb
bake-toolkit-2.4.3 lib/blocks/commandLine.rb
bake-toolkit-2.3.4 lib/blocks/commandLine.rb
bake-toolkit-2.2.2 lib/blocks/commandLine.rb
bake-toolkit-2.1.1 lib/blocks/commandLine.rb
bake-toolkit-2.1.0 lib/blocks/commandLine.rb
bake-toolkit-2.0.10 lib/blocks/commandLine.rb