lib/blocks/makefile.rb in bake-toolkit-2.17.1 vs lib/blocks/makefile.rb in bake-toolkit-2.17.2
- old
+ new
@@ -73,21 +73,25 @@
end
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
+ return true if Bake.options.linkOnly
return executeCommand(@cleanLine, "No rule to make target 'clean'.", @config.validExitCodes) unless Bake.options.filename
end
end