Sha256: 5dd877af74ac0b5d545d8b9c5f5b3efbf725bbd72c84dfffae48bb6a0d0b392e

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

# encoding: utf-8

require 'rubygems'
# begin
#   require 'bundler/setup'
# rescue LoadError
#   puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
# end
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')

# If you want to make this the default task
task :default => :spec

# require 'rcov/rcovtask'
# Rcov::RcovTask.new do |test|
#   test.libs << 'test'
#   test.pattern = 'test/**/test_*.rb'
#   test.verbose = true
#   test.rcov_opts << '--exclude "gems/*"'
# end
# 
# task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  require File.expand_path('../lib/s3_cors_fileupload/version', __FILE__)
  version = S3CorsFileupload::VERSION

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "S3CorsFileupload #{version}"
  rdoc.rdoc_files.include('LICENSE*')
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('CHANGELOG*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc 'Open an irb session preloaded with this library'
task :console do
  sh 'irb -I lib -r s3_cors_fileupload.rb'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
s3_cors_fileupload-0.1.5 Rakefile