Sha256: 361de8254b354f6955ea83965ffa9a17c52c2b01b457b08a110436d06c27c406
Contents?: true
Size: 776 Bytes
Versions: 61
Compression:
Stored size: 776 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 run return true if Bake.options.linkOnly return executeCommand(@commandLine, nil, @config.validExitCodes, @config.echo) end def execute return run() end def startupStep return run() end def exitStep return run() end def cleanStep return run() end def clean # nothing to do here return true end end end end
Version data entries
61 entries across 61 versions & 1 rubygems