Sha256: 5afbb5462bc06ee4e763610a4521667bcf86b9052b7a723b1a3cec6c5828212a

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

require 'rake/testtask'
require "bundler/gem_version_tasks"

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*_test.rb']
end

desc "run the circuitbox benchmark scripts"
task :benchmark do
  benchmark_scripts = FileList.new("./benchmark/*_benchmark.rb")
  benchmark_scripts.each do |script|
    system "bundle exec ruby #{script}"
  end
end

desc "Run tests"
task :default => :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
circuitbox-1.1.0 Rakefile
circuitbox-1.0.3 Rakefile
circuitbox-1.0.2 Rakefile
circuitbox-1.0.1 Rakefile
circuitbox-1.0.0 Rakefile
circuitbox-0.11.0 Rakefile