Rakefile in attractor-2.4.0 vs Rakefile in attractor-2.5.0
- old
+ new
@@ -23,10 +23,10 @@
FileUtils.cp_r Gem::Specification.find_by_name("bootstrap").gem_dir, "tmp"
sass = File.read(File.expand_path("./src/stylesheets/main.scss"))
css = SassC::Engine.new(sass, style: :compressed).render
prefixed = AutoprefixerRails.process(css)
- File.open(File.expand_path("./app/assets/stylesheets/main.css"), "w") { |file| file.write(prefixed) }
+ File.write(File.expand_path("./app/assets/stylesheets/main.css"), prefixed)
npm_output = `npm run build`
puts npm_output
end