Sha256: 0af25260ad937f4172bd8a9cec43c4b22101f596fc154218597a2f593f5d2f18

Contents?: true

Size: 611 Bytes

Versions: 48

Compression:

Stored size: 611 Bytes

Contents

require_relative '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

48 entries across 48 versions & 1 rubygems

Version Path
bake-toolkit-2.72.0 lib/blocks/docu.rb
bake-toolkit-2.71.0 lib/blocks/docu.rb
bake-toolkit-2.70.1 lib/blocks/docu.rb
bake-toolkit-2.70.0 lib/blocks/docu.rb
bake-toolkit-2.69.0 lib/blocks/docu.rb
bake-toolkit-2.68.1 lib/blocks/docu.rb
bake-toolkit-2.68.0 lib/blocks/docu.rb
bake-toolkit-2.67.0 lib/blocks/docu.rb
bake-toolkit-2.66.0 lib/blocks/docu.rb
bake-toolkit-2.65.2 lib/blocks/docu.rb
bake-toolkit-2.65.1 lib/blocks/docu.rb
bake-toolkit-2.65.0 lib/blocks/docu.rb
bake-toolkit-2.64.4 lib/blocks/docu.rb
bake-toolkit-2.64.3 lib/blocks/docu.rb
bake-toolkit-2.64.2 lib/blocks/docu.rb
bake-toolkit-2.64.1 lib/blocks/docu.rb
bake-toolkit-2.64.0 lib/blocks/docu.rb
bake-toolkit-2.63.2 lib/blocks/docu.rb
bake-toolkit-2.63.1 lib/blocks/docu.rb
bake-toolkit-2.63.0 lib/blocks/docu.rb