Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.341 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
$LOAD_PATH.unshift( 'lib' )
require 'bundler'


# Run stuff in the examples folder
desc "Run examples"
task :examples do
  require 'benchmark'

  seconds = Benchmark.realtime do
    Dir[ './examples/*.rb' ].each { |file| puts "\n\n=== Running #{file} ==="; require file }
  end

  puts "\n\t[ Examples took #{seconds} seconds to run ]"
end
Something went wrong with that request. Please try again.