Sha256: 1cc9ba8dc5e77257b55a666f4d2ec24e35a2c3070d5fda3e791eb8bee3de58ef
Contents?: true
Size: 531 Bytes
Versions: 10
Compression:
Stored size: 531 Bytes
Contents
require 'rspec/core' require 'rspec/core/rake_task' require 'rubocop/rake_task' desc 'Run specs' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end desc 'Run RuboCop' RuboCop::RakeTask.new :rubocop desc 'Run GruntCop (bootlint, csslint, jshint)' task :gruntcop do system 'npm run-script cop' end desc 'Run all cops' task :cop => [:rubocop, :gruntcop] desc 'Concatenate and minify JS & CSS' task :build do system 'npm run-script build' end task :default => [:spec, :cop, :build]
Version data entries
10 entries across 10 versions & 1 rubygems