Sha256: 62d6ac3e6328db2a25a9e856bbd88af876b11953666371eb9c1c791c5081255d
Contents?: true
Size: 556 Bytes
Versions: 10
Compression:
Stored size: 556 Bytes
Contents
#!/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end require 'rake/testtask' Rake::TestTask.new("test:core") do |test| test_dir = File.join(File.dirname(__FILE__), 'test/lib') test.pattern = "#{test_dir}/**/*_test.rb" test.libs << test_dir test.verbose = false test.warning = false end begin require 'rubocop/rake_task' RuboCop::RakeTask.new rescue => _ puts 'Rubocop not loaded.' end task :default do Rake::Task['rubocop'].execute end
Version data entries
10 entries across 10 versions & 1 rubygems