Sha256: f5750425816166e808a6d2e4202f9aad4012263c616b2c54d72ebc3d4a99bbff

Contents?: true

Size: 1.3 KB

Versions: 19

Compression:

Stored size: 1.3 KB

Contents

require 'config/requirements'

begin
  require 'hanna/rdoctask'
rescue LoadError => e
  require "rake/rdoctask"
end

require 'config/jeweler' # setup gem configuration

Dir['tasks/**/*.rake'].each { |rake| load rake }

desc "Clean tmp directory"
task :clean_tmp do |t|
  FileUtils.rm_rf("#{File.dirname(__FILE__)}/Manifest.txt") if ::File.exists?("#{File.dirname(__FILE__)}/Manifest.txt") 
  FileUtils.touch("#{File.dirname(__FILE__)}/Manifest.txt")
  %w(logs tmp).each do |dir|
    FileUtils.rm_rf("#{File.dirname(__FILE__)}/#{dir}") if ::File.exists?("#{File.dirname(__FILE__)}/#{dir}")
  end
end

desc "Remove the pkg directory"
task :clean_pkg do |t|
  %w(pkg).each do |dir|
    FileUtils.rm_rf("#{File.dirname(__FILE__)}/#{dir}") if ::File.exists?("#{File.dirname(__FILE__)}/#{dir}")
  end
end


namespace :gem do
  task(:build).prerequisites.unshift :gemspec # Prepend the gemspec generation
  
  desc "Build the gem only if the tests pass"
  task :test_then_build => [:test, :build]
  
  desc "Build and install the gem only if the tests pass"
  task :test_then_install => [:test, :install]
end

# Generate documentation
Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
  rd.rdoc_dir = "rdoc"
  # rd.template = "hanaa"
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 Rakefile
auser-poolparty-1.3.11 Rakefile
auser-poolparty-1.3.12 Rakefile
auser-poolparty-1.3.13 Rakefile
auser-poolparty-1.3.14 Rakefile
auser-poolparty-1.3.15 Rakefile
auser-poolparty-1.3.16 Rakefile
auser-poolparty-1.3.17 Rakefile
auser-poolparty-1.3.6 Rakefile
auser-poolparty-1.3.7 Rakefile
auser-poolparty-1.3.8 Rakefile
fairchild-poolparty-1.3.17 Rakefile
fairchild-poolparty-1.3.5 Rakefile
poolparty-1.3.15 Rakefile
poolparty-1.3.14 Rakefile
poolparty-1.3.13 Rakefile
poolparty-1.3.8 Rakefile
poolparty-1.3.7 Rakefile
poolparty-1.3.6 Rakefile