Sha256: c893f62268d2da33d6f876c464c9f6c03466369b7e23f02b0c5ad2baf2548169

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

task :default => [:test, :smoke, :lint]

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList["test/**/*_test.rb"]
  t.verbose = true
end

desc "Run smoke tests"
task :smoke do
  sh "docker build -t meowcop/smoke -f test/smoke/Dockerfile ."
  sh "docker run -it --rm meowcop/smoke"
end

desc "Lint"
task :lint do
  sh "bundle exec rubocop --config config/rubocop.yml"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meowcop-2.3.0 Rakefile