Sha256: 32b15eff06e52c2a0759f8ebcbbe58c9c39236c1c8e3c43bed57f2fcbbda0ce3

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

require 'bundler/gem_tasks'

task :test do
  Dir['./test/*_test.rb'].each do |file|
    ruby file
  end
end
task :default => :test

desc "render documentation for gh-pages"
task :gh do
 require 'erb'
 File.open("index.html", "w") do |f|
   f.write ERB.new(File.open("documentation/index.html.erb").read).result
 end
 `open index.html`
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
table_setter-0.2.12 Rakefile