Sha256: 060500eae999157a6492fa8ca3558ebd4e37605f1f876fd760101fa82fed20fe

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

# =========================================================================
#   Ceedling - Test-Centered Build System for C
#   ThrowTheSwitch.org
#   Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
#   SPDX-License-Identifier: MIT
# =========================================================================

# As Rake is removed, more and more functionality and code entrypoints will migrate here

class Application

  constructor :system_wrapper

  def setup
    @failures = false
  end

  def register_build_failure
    @failures = true
  end

  def build_succeeded?
    return (!@failures) && @system_wrapper.ruby_success?
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 lib/ceedling/application.rb
ceedling-1.0.0 lib/ceedling/application.rb