93b4fac96e3b35160d78e312ce96792ad6712f8d
[yaffs-website] / vendor / twbs / bootstrap-sass / templates / project / manifest.rb
1 description 'Bootstrap for Sass'
2
3 # Stylesheet importing bootstrap
4 stylesheet 'styles.sass'
5
6 # Bootstrap variable overrides file
7 stylesheet '_bootstrap-variables.sass', :to => '_bootstrap-variables.sass'
8
9 # Copy JS and fonts
10 manifest = Pathname.new(File.dirname(__FILE__))
11 assets   = File.expand_path('../../assets', manifest)
12 {:javascript => 'javascripts',
13  :font       => 'fonts'
14 }.each do |method, dir|
15   root = Pathname.new(assets).join(dir)
16   Dir.glob root.join('**', '*.*') do |path|
17     path = Pathname.new(path)
18     send method, path.relative_path_from(manifest).to_s, :to => path.relative_path_from(root).to_s
19   end
20 end