Sha256: 5d5b1f0288c6e32fad233559d8c5013c1a27f499b60b4ceb7ab7ee049383742e

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 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

1 entries across 1 versions & 1 rubygems

Version Path
PlayRockPaperScissorsGame-2.1.7 Rakefile