Sha256: f38759db75d213c5edb010a0b647d3daaf8d48f1ff8b5118854e10703a378e68

Contents?: true

Size: 760 Bytes

Versions: 4

Compression:

Stored size: 760 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/dist/js/bootstrap-switch.js vendor/assets/javascripts/bootstrap-switch.js
echo "Copying bootstrap-switch.css files"
cp tmp_vendor/dist/css/bootstrap2/bootstrap-switch.css vendor/assets/stylesheets/bootstrap2-switch.scss
cp tmp_vendor/dist/css/bootstrap3/bootstrap-switch.css vendor/assets/stylesheets/bootstrap3-switch.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 & 2 rubygems

Version Path
bootstrap-switch-rails-3.3.3 update_from_vendor.sh
bootstrap-switch-rails-bcj-version-3.3.2.2 update_from_vendor.sh
bootstrap-switch-rails-bcj-version-3.3.2.1 update_from_vendor.sh
bootstrap-switch-rails-bcj-version-3.3.2 update_from_vendor.sh