Rakefile in faml-0.3.3 vs Rakefile in faml-0.3.4
- old
+ new
@@ -1,15 +1,18 @@
require 'bundler/gem_tasks'
-task :default => [:compile, :spec]
+task :default => [:compile, :spec, :rubocop]
require 'rake/extensiontask'
Rake::ExtensionTask.new('attribute_builder') do |ext|
ext.lib_dir = 'lib/faml'
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
+
+require 'rubocop/rake_task'
+RuboCop::RakeTask.new(:rubocop)
task :benchmark => ['benchmark:rendering', 'benchmark:compiling']
namespace :benchmark do
task :rendering => ['benchmark:rendering:haml', 'benchmark:rendering:attributes', 'benchmark:rendering:slim']