From 3007ee7d027655a5c0c4c7aa090f14cb24fdcbdc Mon Sep 17 00:00:00 2001 From: GCorbel Date: Wed, 28 Feb 2024 16:02:16 -0500 Subject: [PATCH] cleanup --- lib/rspec/mocks/mutate_const.rb | 1 - script/run_build | 38 ++++++++++++++++----------------- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/lib/rspec/mocks/mutate_const.rb b/lib/rspec/mocks/mutate_const.rb index 5fa2d96d4..bf8eddadc 100644 --- a/lib/rspec/mocks/mutate_const.rb +++ b/lib/rspec/mocks/mutate_const.rb @@ -161,7 +161,6 @@ def idempotently_reset reset unless @reset_performed @reset_performed = true end - end # Hides a defined constant for the duration of an example. diff --git a/script/run_build b/script/run_build index 811528d9d..9d00141b0 100755 --- a/script/run_build +++ b/script/run_build @@ -12,22 +12,22 @@ fi fold "binstub check" check_binstubs -# fold "specs" run_specs_and_record_done -# -# if additional_specs_available; then -# fold "additional specs" run_additional_specs -# fi -# -# fold "cukes" run_cukes -# -# if documentation_enforced; then -# fold "doc check" check_documentation_coverage -# fi -# -# if supports_cross_build_checks; then -# fold "one-by-one specs" run_specs_one_by_one -# export NO_COVERAGE=true -# run_all_spec_suites -# else -# echo "Skipping the rest of the build on non-MRI rubies" -# fi +fold "specs" run_specs_and_record_done + +if additional_specs_available; then + fold "additional specs" run_additional_specs +fi + +fold "cukes" run_cukes + +if documentation_enforced; then + fold "doc check" check_documentation_coverage +fi + +if supports_cross_build_checks; then + fold "one-by-one specs" run_specs_one_by_one + export NO_COVERAGE=true + run_all_spec_suites +else + echo "Skipping the rest of the build on non-MRI rubies" +fi