File: run_build

package info (click to toggle)
ruby-rspec 3.9.0c2e2m1s3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,612 kB
  • sloc: ruby: 67,456; sh: 1,572; makefile: 98
file content (36 lines) | stat: -rwxr-xr-x 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# This file was generated on 2020-04-03T18:53:24+03: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
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

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 style_and_lint_enforced; then
  fold "rubocop" check_style_and_lint
fi

if is_mri; then
  fold "one-by-one specs" run_specs_one_by_one
  run_all_spec_suites
else
  echo "Skipping the rest of the build on non-MRI rubies"
fi