This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4cbca3
commit 39c6283
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
bundle exec yard stats --list-undoc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
source /usr/local/share/chruby/chruby.sh | ||
chruby $1 | ||
if [ -e .bundle/config ] | ||
then | ||
rm .bundle/config | ||
fi | ||
bundle config --local gemfile $1/Gemfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
source /usr/local/share/chruby/chruby.sh | ||
echo ruby-2.6 | ||
chruby ruby-2.6 | ||
set -x | ||
gem update --system | ||
gem install --version="~> 2.0" bundler | ||
gem install debride fasterer rcodetools fastri reek | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
source /usr/local/share/chruby/chruby.sh | ||
set +x | ||
for RUBY in ruby-2.6 ruby-2.5 ruby-2.4 ruby-2.3 | ||
do | ||
chruby "$RUBY" | ||
ruby --version | ||
set -x | ||
if [ -e "$RUBY"/Gemfile.lock ] | ||
then | ||
bundle update --gemfile "$RUBY"/Gemfile | ||
else | ||
bundle install --gemfile "$RUBY"/Gemfile | ||
fi | ||
set +x | ||
done | ||
|