lib/generators/semantic/install/install_generator.rb in semantic-ui-rails-0.1.0 vs lib/generators/semantic/install/install_generator.rb in semantic-ui-rails-0.1.0.1
- old
+ new
@@ -18,18 +18,18 @@
else
copy_file "semantic-ui.js", "app/assets/javascripts/semantic-ui.js"
end
# copy less manifests
- css_manifests = 'app/assets/stylesheets/semantic-ui'
+ css_manifests = 'app/assets/stylesheets/semantic-ui.css.less'
- if File.directory?(css_manifests)
+ if File.exist?(css_manifests)
puts <<-EOM
Notice:
#{css_manifests} exist; skipping
EOM
else
- directory "semantic-ui", css_manifests, :recursive => true
+ copy_file "semantic-ui", "app/assets/stylesheets/semantic-ui.css.less"
end
end
end
end