Sha256: bbe4515f0db36425c3303fed34e40df9f85f098e62f644d8227c1f317f19dfb2

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "pathname"
require "fileutils"
include FileUtils

# path to your application root.
APP_ROOT = Pathname.new File.expand_path("../../", __FILE__)

def system!(*args)
  system(*args) || abort("\n== Command #{args} failed ==")
end

chdir APP_ROOT do
  system! "bundle exec rspec"

  puts "\nChecking rubocop\n"
  system! "bundle exec rubocop"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
word_search-1.3.0 bin/test
word_search-1.2.1 bin/test
word_search-1.2.0 bin/test