Sha256: 4e7bb983f60f81ae8514eb5f037eaac298131021b6ede3ea0ad2ef356c6ef707

Contents?: true

Size: 550 Bytes

Versions: 27

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

STDOUT.sync = true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "kommando"
require "parallel_tests/tasks"

RSpec::Core::RakeTask.new(:spec)

task default: %i[rubocop parallel:spec e2e]

task :rubocop do
  rubocop_k = Kommando.puts "rubocop"
  puts "" # styling for rake
  raise "offenses found" unless rubocop_k.code.zero?
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

27 entries across 27 versions & 1 rubygems

Version Path
superbot-0.1.5 Rakefile
superbot-0.1.4 Rakefile
superbot-0.1.4.rc2 Rakefile
superbot-0.1.4.rc1 Rakefile
superbot-0.1.3 Rakefile
superbot-0.1.2 Rakefile
superbot-0.1.1 Rakefile