Rakefile in simplecov-html-0.5.3 vs Rakefile in simplecov-html-0.7.0
- old
+ new
@@ -8,11 +8,17 @@
test.verbose = true
end
task :default => :test
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
\ No newline at end of file
+namespace :assets do
+ desc "Compiles all assets"
+ task :compile do
+ puts "Compiling assets"
+ require 'sprockets'
+ assets = Sprockets::Environment.new
+ assets.append_path 'assets/javascripts'
+ assets.append_path 'assets/stylesheets'
+ assets['application.js'].write_to('public/application.js')
+ assets['application.css'].write_to('public/application.css')
+ end
+end