Sha256: 7da0d32c99bfcfb5003fb9cad4e81ca0d1fe097f76184c7fb5d0b22123071585

Contents?: true

Size: 771 Bytes

Versions: 4

Compression:

Stored size: 771 Bytes

Contents

#!/bin/sh

# Checkout vendor repo
echo "Cloning nostalgiaz/bootstrap-switch github repo into tmp_vendor"
git clone https://github.com/nostalgiaz/bootstrap-switch.git tmp_vendor

# Copy files
echo "Copying bootstrap-switch.js"
cp tmp_vendor/build/js/bootstrap-switch.js vendor/assets/javascripts/bootstrap-switch.js
echo "Copying bootstrap-switch.css files"
cp tmp_vendor/build/css/bootstrap2/bootstrap-switch.css vendor/assets/stylesheets/bootstrap2-switch.css.scss
cp tmp_vendor/build/css/bootstrap3/bootstrap-switch.css vendor/assets/stylesheets/bootstrap3-switch.css.scss

# Delete vendor repo
echo "Removing cloned vendor repo"
rm -rf tmp_vendor

echo "Finished... You'll need to commit the changes. You should consider updating the changelog and gem version number"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap-switch-rails-2.0.2 update_from_vendor.sh
bootstrap-switch-rails-2.0.1 update_from_vendor.sh
bootstrap-switch-rails-2.0.0 update_from_vendor.sh
bootstrap-switch-rails-1.9.0 update_from_vendor.sh