Sha256: 6f7aaf1c2c487027335265170ea46826b0749bf50307b825b34ad13322ae7c6b

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

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

require 'ceedling/constants'
require 'ceedling/file_path_utils'

# Set Rake verbosity using global constant verbosity set before Rake is loaded
if !!defined?(PROJECT_VERBOSITY)
  verbose(PROJECT_VERBOSITY >= Verbosity::OBNOXIOUS)
  if PROJECT_VERBOSITY >= Verbosity::OBNOXIOUS
    Rake.application.options.silent = false
    Rake.application.options.suppress_backtrace_pattern = nil
  end
end

# Non-advertised debug task
task :debug do
  Rake.application.options.trace = true
end

# non advertised sanity checking task
task :sanity_checks, :level do |t, args|
  check_level = args.level.to_i
  @ceedling[:configurator].sanity_checks = check_level
end

# Do not present task if there's no plugins
if (not PLUGINS_ENABLED.empty?)
desc "Execute plugin result summaries (no build triggering)."
task :summary do
	@ceedling[:plugin_manager].summary
  puts "\nNOTE: Summaries may be out of date with project sources.\n\n"
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 lib/ceedling/tasks_base.rake
ceedling-1.0.0 lib/ceedling/tasks_base.rake