Sha256: 43be5c5085682bba39ac587f5280806f1a25b185e61504ecd128f8c7956d8212

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc "Run specs"
RSpec::Core::RakeTask.new do |t|
  # t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
  # Put spec opts in a file named .rspec in root
end

# desc 'docs'
#   begin
#     require 'rocco'
#     require 'rocco/tasks'
#     require 'fileutils'
#     require 'maruku'
#     Rocco::make 'docs/'
#     FileUtils.cp_r "docs/lib/", "/Users/hank/rails/dailycred/public/docs/ruby/", :verbose => true
#     md = ""
#     File.open("README.md", "r") do |infile|
#       while (line = infile.gets)
#         md += line
#       end
#     end
#     doc = Maruku.new(md)
#     File.open("/Users/hank/rails/dailycred/app/views/tags/ruby.html", 'w') {|f| f.write doc.to_html}
#   rescue LoadError
#     warn "#$! -- rocco tasks not loaded."
#     task :rocco
#   end
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dailycred-0.1.45 Rakefile