Sha256: 31b953b383683657a2a57e4ea9da6a76d79b7104bdfe9966fc97015b1c0e8b95

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

#! /bin/sh

# clean old version
rm -rf vendor
mkdir -p vendor/assets/javascripts/vendor vendor/assets/stylesheets

# update assets
bower install
cp bower_components/modernizr/modernizr.js vendor/assets/javascripts/vendor/.
cp -R bower_components/foundation/js/foundation/ vendor/assets/javascripts/foundation/
cp -R bower_components/foundation/scss/* vendor/assets/stylesheets/

# create vendor/assets/javascripts/foundation.js (rails inclusions //=require foundation, ...)
cd vendor/assets/javascripts
echo '//= require foundation/foundation' > foundation.js
for f in foundation/*.*.js; do echo "//= require $f" | sed 's/.js//' >> foundation.js ; done

# echo "Now update version.rb"

cd -

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foundation-rails-5.5.3.2 update-gem.sh