lib/blocks/compile.rb in bake-toolkit-2.10.1 vs lib/blocks/compile.rb in bake-toolkit-2.10.2

- old
+ new

@@ -180,11 +180,11 @@ if Bake.options.cc2j_filename Blocks::CC2J << { :directory => @projectDir, :command => cmd, :file => source } end - return if cmdLineCheck and BlockBase.isCmdLineEqual?(cmd, cmdLineFile) + return true if cmdLineCheck and BlockBase.isCmdLineEqual?(cmd, cmdLineFile) BlockBase.prepareOutput(object) BlockBase.writeCmdLineFile(cmd, cmdLineFile) success, consoleOutput = ProcessHelper.run(cmd, false, false) @@ -294,11 +294,13 @@ # (it is not deterministic which file compilation finishes first) @error_strings.sort.each {|es| puts es[1]} raise SystemCommandFailed.new if compileJobs.failed + end + return true end def clean if Bake.options.filename or Bake.options.analyze Dir.chdir(@projectDir) do @@ -325,9 +327,10 @@ end end end end end + return true end def calcObjects @source_files.each do |source| type = get_source_type(source) \ No newline at end of file