Sha256: 6e22b603909e8ce5e1496e1bc01ec563edf8fb29b6bfe9c68a8febd7945860e0

Contents?: true

Size: 852 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
RPSrb-0.2.0 Rakefile