jacius / rebirth

High-level game framework, built on Rubygame & OpenGL. (On hold)

This URL has Read+Write access

rebirth / Rakefile
100644 23 lines (17 sloc) 0.39 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The version number for Rebirth.
REBIRTH_VERSION = [0,0,0]
 
require 'rake'
 
task :version do
  puts "Rebirth v#{REBIRTH_VERSION.join(".")}"
end
 
begin
  require 'spec/rake/spectask'
 
  desc "Run all specs (tests)"
  Spec::Rake::SpecTask.new do |t|
    t.spec_files = FileList['specs/*_spec.rb']
  end
rescue LoadError
  task :spec do
    puts "ERROR: RSpec is not installed?"
  end
end