Sha256: 67bdf23bd3cebc6fe9433e36f82a241b5e4df56f357e913ba0568a678b80123f

Contents?: true

Size: 609 Bytes

Versions: 86

Compression:

Stored size: 609 Bytes

Contents

require 'blocks/compile'

module Bake
  module Blocks
    class Docu
      include HasExecuteCommand

      def initialize(config, tcs)
        @config = config # Bake::Metamodel::CommandLine
        @commandLine = tcs[:DOCU]
        @projectDir = config.get_project_dir
      end

      def execute
        if @commandLine.empty?
          Bake.formatter.printInfo("No documentation command specified", @config)
        else
          return executeCommand(@commandLine)
        end
        return true
      end

      def clean
        # nothing to do here
        return true
      end

    end
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
bake-toolkit-2.29.0 lib/blocks/docu.rb
bake-toolkit-2.28.1 lib/blocks/docu.rb
bake-toolkit-2.28.0 lib/blocks/docu.rb
bake-toolkit-2.27.0 lib/blocks/docu.rb
bake-toolkit-2.26.1 lib/blocks/docu.rb
bake-toolkit-2.26.0 lib/blocks/docu.rb
bake-toolkit-2.25.1 lib/blocks/docu.rb
bake-toolkit-2.25.0 lib/blocks/docu.rb
bake-toolkit-2.24.6 lib/blocks/docu.rb
bake-toolkit-2.24.5 lib/blocks/docu.rb
bake-toolkit-2.24.4 lib/blocks/docu.rb
bake-toolkit-2.24.3 lib/blocks/docu.rb
bake-toolkit-2.24.2 lib/blocks/docu.rb
bake-toolkit-2.24.1 lib/blocks/docu.rb
bake-toolkit-2.24.0 lib/blocks/docu.rb
bake-toolkit-2.23.12 lib/blocks/docu.rb
bake-toolkit-2.23.8 lib/blocks/docu.rb
bake-toolkit-2.23.7 lib/blocks/docu.rb
bake-toolkit-2.23.6 lib/blocks/docu.rb
bake-toolkit-2.23.5 lib/blocks/docu.rb