Skip to content

Commit

Permalink
now compatible with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TwP committed May 29, 2022
1 parent 0339368 commit b773683
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions script/bootstrap
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/usr/bin/env sh

gem list -i bones >/dev/null 2>&1
rc=$?
if [[ $rc != 0 ]]; then
gem install bones
fi
gem_install () {
gem list -i $1 >/dev/null 2>&1
if [ $? -ne 0 ]; then
gem install $1
fi
}

gem list -i rdoc >/dev/null 2>&1
rc=$?
if [[ $rc != 0 ]]; then
gem install rdoc
fi
gem_install 'bones'
gem_install 'rdoc'

rake gem:install_dependencies

0 comments on commit b773683

Please sign in to comment.