Sha256: 0b248898bbcf84cbb1f502c2abafe07205aa186749aab77c09e8c1a2fc4a0b9a

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"

task default: :test

desc "Run tests. Not yet..."
task :test do
  abort "No tests yet. Sorry :-("
end

desc "Run examples"
namespace :test do
  desc "Run files in examples/"
  task :examples do
    chdir "examples" do
      ENV["HOTCH_VIEWER"] = nil

      Dir.glob("*.rb").sort.each do |file|
        puts "=" * 80
        sh "bundle", "exec", "ruby", file

        puts
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hotch-0.7.0 Rakefile