rspec-expectations/upstream/script/run_build in opal-rspec-0.8.0 vs rspec-expectations/upstream/script/run_build in opal-rspec-1.0.0.alpha1
- old
+ new
@@ -1,28 +1,33 @@
#!/bin/bash
-# This file was generated on 2014-08-23T21:27:12-07:00 from the rspec-dev repo.
+# This file was generated on 2022-09-08T12:42:03+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
-set -e -x
+set -e
source script/functions.sh
# Allow repos to override the default functions and add their own
if [ -f script/custom_build_functions.sh ]; then
source script/custom_build_functions.sh
fi
-run_specs_and_record_done
-run_cukes
+fold "binstub check" check_binstubs
-if documentation_enforced; then
- check_documentation_coverage
+fold "specs" run_specs_and_record_done
+
+if additional_specs_available; then
+ fold "additional specs" run_additional_specs
fi
-if style_and_lint_enforced; then
- check_style_and_lint
+fold "cukes" run_cukes
+
+if documentation_enforced; then
+ fold "doc check" check_documentation_coverage
fi
-if is_mri; then
+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