Sha256: 8c5cbfa0ff405ee66f32e8e0d544c62ec15a7c9b2f03c24a039e6a4ff5b9e47f
Contents?: true
Size: 759 Bytes
Versions: 41
Compression:
Stored size: 759 Bytes
Contents
require_relative 'has_execute_command' module Bake module Blocks class CommandLine include HasExecuteCommand def initialize(config) @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
41 entries across 41 versions & 1 rubygems