Sha256: 67baabaa87068bf972bb8cfd1b9263b12d5bdf5e8c37e20756b0499744fcc588

Contents?: true

Size: 593 Bytes

Versions: 3

Compression:

Stored size: 593 Bytes

Contents

require 'rdoc/task'
require 'rake/testtask'

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

3 entries across 3 versions & 1 rubygems

Version Path
PlayRockPaperScissorsGame-2.1.6 Rakefile
PlayRockPaperScissorsGame-2.1.5 Rakefile
PlayRockPaperScissorsGame-2.1.4 Rakefile