Sha256: 107332bdcd25ca3c6056ef80d4a7491176cdf10a456dd34fa9d8a73fdc9d0eba
Contents?: true
Size: 697 Bytes
Versions: 8
Compression:
Stored size: 697 Bytes
Contents
require 'bundler/gem_tasks' require 'rake' require 'rake/testtask' require 'rake/clean' require 'rubocop/rake_task' require 'cucumber/rake/task' require 'fileutils' CLOBBER.include('pkg') CLEAN.include('build') task :init do FileUtils.mkdir_p 'build' end task :features => :init # Default test task desc 'Run all unit tests' Rake::TestTask.new do |t| t.pattern = 'test/**/*_test.rb' t.libs << 'test' end # Cucumber acceptance test task Cucumber::Rake::Task.new(:features) task :features => :init task default: [ :rubocop, :test ] task :generate_diagrams do sh 'cd doc; seqdiag --fontmap=support/seqdiag.fontmap -Tsvg vagrant_dns_without_landrush.diag' end RuboCop::RakeTask.new
Version data entries
8 entries across 8 versions & 1 rubygems