Sha256: 9a695b01d7f8a4338bea14490dbd43b0a810bbb03edf013706cb9a535b8ce339
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
require 'gamebox/lib/platform' require 'spec/rake/spectask' task :default => :run desc "Run the game" task :run do |t| if Platform.mac? sh "rsdl src/app.rb" else sh "ruby src/app.rb" end end desc "Report code statistics (KLOCs, etc) from the application" task :stats do require 'gamebox/lib/code_statistics' CodeStatistics.new(*STATS_DIRECTORIES).to_s end desc "Run the game with debug server" task :debug do |t| if Platform.mac? sh "rsdl src/app.rb -debug-server" else sh "ruby src/app.rb -debug-server" end end require 'spec/rake/spectask' desc "Run all specs" Spec::Rake::SpecTask.new('spec') do |t| t.spec_opts = ["-r", "./spec/helper"] t.spec_files = FileList['spec//*_spec.rb'] end task :rspec => :spec task :test => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gamebox-0.0.8 | lib/gamebox/tasks/gamebox_tasks.rb |