Sha256: d68ca414bc340adb6911e003553a59c52c60078d29005b8f2e31e48d285520be
Contents?: true
Size: 782 Bytes
Versions: 19
Compression:
Stored size: 782 Bytes
Contents
#!/bin/bash set -euo pipefail IFS=$'\n\t' declare pwd=$PWD declare cache="$pwd/vendor/cache" cleanup() { ./script/teardown } bundle_package() { bundle package --all echo "" } # We may need something like this in future if we use github checkouts of gems # (see `install_hanami_frameworks()` in hanami/hanami's setup script) # # install_from_git_checkouts() { } install_base_gem() { bundle exec rake build local pkg=`ls $pwd/pkg/*.gem | sort -r | head -1` gem install $pkg > /dev/null mv $pkg $cache echo "Installed $pkg (from $(git rev-parse HEAD))" echo "" } generate_index() { pushd $cache > /dev/null gem generate_index popd > /dev/null echo "" } main() { cleanup && bundle_package && install_base_gem && generate_index } main
Version data entries
19 entries across 19 versions & 2 rubygems