Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 3b874ad

Browse files
committed
Updated ci build scripts (from rspec-dev)4-0-dev
1 parent 2d82918 commit 3b874ad

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
1+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
name: RSpec CI

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
1+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# This file contains defaults for RSpec projects. Individual projects

script/ci_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
1+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# Taken from:

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
2+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/functions.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
1+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@@ -20,12 +20,12 @@ fi
2020
function clone_repo {
2121
if [ ! -d $1 ]; then # don't clone if the dir is already there
2222
if [ -z "$2" ]; then
23-
BRANCH_TO_CLONE="$MAINTENANCE_BRANCH"
23+
BRANCH_TO_CLONE="${MAINTENANCE_BRANCH?}";
2424
else
25-
BRANCH_TO_CLONE="$2"
26-
fi
25+
BRANCH_TO_CLONE="$2";
26+
fi;
2727

28-
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch $BRANCH_TO_CLONE"
28+
travis_retry eval "git clone https://github.com/rspec/$1 --depth 1 --branch ${BRANCH_TO_CLONE?}"
2929
fi;
3030
}
3131

script/predicate_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
1+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
function is_mri {

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
2+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-12-27T12:28:54+00:00 from the rspec-dev repo.
2+
# This file was generated on 2020-12-27T14:33:56+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

0 commit comments

Comments
 (0)