Sha256: b5cbf628c5b6c7181bf2cbd6d699000f985b1b66640e3fef1e2c48d4af6b1857

Contents?: true

Size: 986 Bytes

Versions: 19

Compression:

Stored size: 986 Bytes

Contents

description "Semantic UI for Sass"

# Stylesheet importing semantic
stylesheet 'styles.scss'

# Other Semantic UI assets
basedir = '../../app/assets'
image_dir = "#{basedir}/images/semantic-ui"
javascript_dir = ["#{basedir}/javascripts/semantic-ui", "#{basedir}/javascripts/semantic-ui/behavior"]
font_dir = "#{basedir}/fonts/semantic-ui"


Dir[File.join(File.dirname(__FILE__), image_dir, '*.png')].each do |file|
  filename = File.basename(file)
  image "#{image_dir}/#{filename}", to: "semantic-ui/#{filename}"
end

javascript_dir.each do |dir|
  Dir[File.join(File.dirname(__FILE__), dir, '*.js')].each do |file|
    filename = File.basename(file)
    to_path = dir.include?('behavior') ? "semantic-ui/behavior/#{filename}" : "semantic-ui/#{filename}"
    javascript "#{dir}/#{filename}", to: to_path
  end
end

Dir[File.join(File.dirname(__FILE__), font_dir, '*')].each do |file|
  filename = File.basename(file)
  font "#{font_dir}/#{filename}", to: "semantic-ui/#{filename}"
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
semantic-ui-sass-2.4.4.0 templates/project/manifest.rb
semantic-ui-sass-2.4.3.0 templates/project/manifest.rb
semantic-ui-sass-2.4.2.0 templates/project/manifest.rb
fomantic-ui-sass-2.6.4 templates/project/manifest.rb
semantic-ui-sass-2.4.0.1 templates/project/manifest.rb
semantic-ui-sass-2.4.0.0 templates/project/manifest.rb
semantic-ui-sass-2.3.1.2 templates/project/manifest.rb
semantic-ui-sass-2.3.1.1 templates/project/manifest.rb
semantic-ui-sass-2.3.1.0 templates/project/manifest.rb
semantic-ui-sass-2.3.0.0 templates/project/manifest.rb
semantic-ui-sass-2.2.14 templates/project/manifest.rb
semantic-ui-sass-2.2.12.1 templates/project/manifest.rb
semantic-ui-sass-2.2.12.0 templates/project/manifest.rb
semantic-ui-sass-2.2.11.0 templates/project/manifest.rb
semantic-ui-sass-2.2.10.1 templates/project/manifest.rb
semantic-ui-sass-2.2.10.0 templates/project/manifest.rb
semantic-ui-sass-2.2.9.3 templates/project/manifest.rb
semantic-ui-sass-2.2.9.2 templates/project/manifest.rb
semantic-ui-sass-2.2.9.1 templates/project/manifest.rb