Sha256: 93151b8a9b92648fea8e4a26b99161c582cb0454aa206f5d0e1309cdf2670c21
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
#!/bin/bash # 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/static/js/bootstrap-switch.js vendor/assets/javascripts/bootstrap-switch.js echo "Copying bootstrap-switch.css" cp tmp_vendor/static/stylesheets/bootstrap-switch.css vendor/assets/stylesheets/bootstrap-switch.css # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-switch-rails-1.4.0 | update_from_vendor.sh |