Sha256: a012534e6ced28dea62d639f6c11a5733bcc35678875773163e149ccdd3e7844

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

STDOUT.sync = true

require "bundler/gem_tasks"
require "rubocop/rake_task"
require "kommando"

RuboCop::RakeTask.new

task default: %i[rubocop spec e2e]

task :spec do
  system('rspec')
end

task :e2e do
  e2e_k = Kommando.run "bin/e2e"
  if e2e_k.code.zero?
    puts "bin/e2e ok 🤖"
  else
    puts e2e_k.out
    raise "e2e exists with non-zero"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
superbot-0.1.31 Rakefile
superbot-0.1.30 Rakefile
superbot-0.1.29 Rakefile
superbot-0.1.28 Rakefile