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