Sha256: 10dc1ebe11b215d8aed655b355f609a0f1083dfb3522398085bcf23b595a0b82

Contents?: true

Size: 799 Bytes

Versions: 12

Compression:

Stored size: 799 Bytes

Contents

require 'rdoc/task'

# task :default => :test

file_path = "./test/test_rpsg.rb"

task :test do 
	# tests the ruby test file
	ruby file_path
end

# for Windows
task :delgem do
	# this deletes any `.gem` file in current direcotry on Windows
	`DEL rpsg-*.*.*.gem`
end

# for Mac
task :delgemosx do 
	# this deletes any `.gem` in current directory on Mac
	`rm -Rf rpsg-*.*.*.gem`
end

# for Mac 
task :deldocosx do 
	# this deletes the `doc` folder in the current directory
	`rm -Rf doc`
end 

# for Windows
task :deldoc do
	# this deletes the `doc` folder in the current directory
	`RMDIR /S /Q "doc"` 
end

RDoc::Task.new do |rdoc|
  # rdoc.main = "README.rdoc"
  rdoc.rdoc_files.include("lib")
  rdoc.rdoc_dir = "doc"
  rdoc.title = "RPSG RDocs"
end
  


Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rpsg-0.4.2 Rakefile
rpsg-0.4.1 Rakefile
rpsg-0.4.0 Rakefile
rpsg-0.3.9 Rakefile
rpsg-0.3.8 Rakefile
rpsg-0.3.7 Rakefile
rpsg-0.3.6 Rakefile
rpsg-0.3.5 Rakefile
rpsg-0.3.4 Rakefile
rpsg-0.3.3 Rakefile
rpsg-0.3.2 Rakefile
rpsg-0.3.1 Rakefile