update_from_vendor.sh in selectize-rails-0.12.4 vs update_from_vendor.sh in selectize-rails-0.12.4.1
- old
+ new
@@ -7,9 +7,13 @@
# Copy files
echo "Copying selectize.js"
cp tmp_vendor/dist/js/standalone/selectize.js vendor/assets/javascripts/selectize.js
echo "Copying css files"
cp tmp_vendor/dist/css/*.css vendor/assets/stylesheets/
+echo "Moving css to scss"
+cd vendor/assets/stylesheets/
+find ./ -name "*.css" | xargs -I '{}' basename '{}' | sed 's/\.css//' | xargs -I '{}' mv '{}.css' '{}.scss'
+cd ../../../
# Delete vendor repo
echo "Removing cloned vendor repo"
rm -rf tmp_vendor