Sha256: bce5df675307883a1783547a43fe86ac0354e17196f9655638f7548e9ab9d547

Contents?: true

Size: 852 Bytes

Versions: 12

Compression:

Stored size: 852 Bytes

Contents

require 'rdoc/task'

# task :default => :test

file_path = "./test/test_RPSrb.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 RPSrb-*.*.*.gem`
end

# for Mac
task :delgemosx do 
	# this deletes any `.gem` in current directory on Mac
	`rm -Rf RPSrb-*.*.*.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

# task :uninstall do
# 	`gem uninstall RPSrb`
# end

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
RPSrb-0.1.9 Rakefile
RPSrb-0.1.8 Rakefile
RPSrb-0.1.7 Rakefile
RPSrb-0.1.6 Rakefile
RPSrb-0.1.5 Rakefile
RPSrb-0.1.4 Rakefile
RPSrb-0.1.3 Rakefile
RPSrb-0.1.2 Rakefile
RPSrb-0.1.1 Rakefile
RPSrb-0.1.0 Rakefile
RPSrb-0.0.9 Rakefile
RPSrb-0.0.8 Rakefile