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.46.0 lib/blocks/docu.rb
bake-toolkit-2.45.0 lib/blocks/docu.rb
bake-toolkit-2.44.1 lib/blocks/docu.rb
bake-toolkit-2.44.0 lib/blocks/docu.rb
bake-toolkit-2.43.2 lib/blocks/docu.rb
bake-toolkit-2.43.1 lib/blocks/docu.rb
bake-toolkit-2.43.0 lib/blocks/docu.rb
bake-toolkit-2.42.3 lib/blocks/docu.rb
bake-toolkit-2.42.2 lib/blocks/docu.rb
bake-toolkit-2.42.1 lib/blocks/docu.rb
bake-toolkit-2.42.0 lib/blocks/docu.rb
bake-toolkit-2.41.4 lib/blocks/docu.rb
bake-toolkit-2.41.3 lib/blocks/docu.rb
bake-toolkit-2.41.2 lib/blocks/docu.rb
bake-toolkit-2.41.1 lib/blocks/docu.rb
bake-toolkit-2.41.0 lib/blocks/docu.rb
bake-toolkit-2.40.1 lib/blocks/docu.rb
bake-toolkit-2.40.0 lib/blocks/docu.rb
bake-toolkit-2.39.1 lib/blocks/docu.rb
bake-toolkit-2.39.0 lib/blocks/docu.rb