Sha256: da7bb957497026080fcbcbe7e2e24e17a02aeb0c6f9a483446894e1da9cd8ee9
Contents?: true
Size: 489 Bytes
Versions: 3
Compression:
Stored size: 489 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require "fileutils" # Runs all tests and linters class BinTest include FileUtils APP_ROOT = File.expand_path("..", __dir__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==") end def run chdir APP_ROOT do puts "\n== Run tests ==" system! "bundle exec rake test" puts "\n== Run rubocop ==" system! "bundle exec rubocop --parallel" end end end BinTest.new.run
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruboclean-0.6.0 | bin/test |
ruboclean-0.5.0 | bin/test |
ruboclean-0.4.0 | bin/test |