Sha256: 5e8708af6cce21f0eb8ef42a7eb8764418ce27a1eb067ac5ec905776b7f691e0
Contents?: true
Size: 847 Bytes
Versions: 2
Compression:
Stored size: 847 Bytes
Contents
description 'Bootstrap for Sass' # Stylesheet importing bootstrap stylesheet 'styles.sass' manifest = Pathname.new(File.dirname(__FILE__)) assets = File.expand_path('../../assets', manifest) # Provide variables files bs_stylesheets = "#{assets}/stylesheets/bootstrap" stylesheet '_bootstrap-variables.sass.erb', :erb => true, :to => '_bootstrap-variables.sass', :bs_variables_path => File.expand_path("#{bs_stylesheets}/_variables.scss", manifest) # Copy JS and fonts {:javascript => 'javascripts', :font => 'fonts' }.each do |method, dir| root = Pathname.new(assets).join(dir) Dir.glob root.join('**', '*.*') do |path| path = Pathname.new(path) send method, path.relative_path_from(manifest).to_s, :to => path.relative_path_from(root).to_s end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
bootstrap-sass-3.2.0.4 | templates/project/manifest.rb |
bootstrap-sass-backport-3.2.0.2 | templates/project/manifest.rb |