Sha256: f88f4efa7a146a74dafb4ad795365e103cd7b475924a452b252e43ff32c30e84

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

task :test do
  ruby 'test/test.rb'
end

desc "Run benchmarks"
task :bench do
  ruby 'script/bench'
end

desc "Profile a simple run"
task :prof do
  ruby 'test/prof.rb'
end

require 'erb'

desc "Write out docs to index.html"
task :doc do |t|
  File.open("index.html", 'w').write ERB.new(File.open("index.erb").read).result(binding)
end

desc "Publish the docs to gh-pages"
task :publish do |t|
  system('git push -f origin master:gh-pages')
end

task :default => :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daybreak-0.3.0 Rakefile
daybreak-0.2.4 Rakefile
daybreak-0.2.3 Rakefile
daybreak-0.2.2 Rakefile