Sha256: d8a5ba85b210f662c5e6f475fa1283b0bc8a36579917320d0b58cee6bd5fb717

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

require 'rdoc/task'

task :default => [:PlayRockPaperScissorsGame, :rps]

file_path = "./test/test_rps.rb"

# rps = Regexp.new(/\A((PlayRockPaperScissorsGame)(\-)(\d\.\d\.\d)(\.gem))\z/)

task :test do 
	ruby file_path
end

task :PlayRockPaperScissorsGame do
	ruby file_path
end

task :rps do
	ruby file_path
end

RDoc::Task.new do |rdoc|
  rdoc.main = "README.md"
  # rdoc.rdoc_files.include(`git ls-files -z`.split("\x0"))
  rdoc.rdoc_files.include(["lib/**/*.rb", "bin/*", "test/*.rb", "Gemfile", "Rakefile", "rps.gemspec", "README.md"])
  rdoc.rdoc_dir = "rdoc"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
PlayRockPaperScissorsGame-2.1.9 Rakefile
PlayRockPaperScissorsGame-2.1.8 Rakefile