Sha256: 06ca9ffbd5a8297f805024c8a5f2be441791abb549a310d6040a4f197ddc2f14

Contents?: true

Size: 846 Bytes

Versions: 7

Compression:

Stored size: 846 Bytes

Contents

require 'rdoc/task'

# task :default => :test

file_path = "./test/test.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

7 entries across 7 versions & 1 rubygems

Version Path
RPSrb-0.0.7 Rakefile
RPSrb-0.0.6 Rakefile
RPSrb-0.0.5 Rakefile
RPSrb-0.0.4 Rakefile
RPSrb-0.0.3 Rakefile
RPSrb-0.0.2 Rakefile
RPSrb-0.0.1 Rakefile