Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (23 sloc) 0.643 kb
dec2095 @ippa readme
authored
1 require 'rubygems'
2 require File.dirname(__FILE__) + '/lib/chingu'
3 include Chingu
4
7ee233b bump rspec and gosu deps. move setup-call from GameObject to BasicGam…
ippa authored
5 gem 'rspec', '>= 2.1.0'
c118301 @txus Added first rspec support
txus authored
6 require 'rspec/core/rake_task'
7
8 desc "Run the specs under spec"
4b3656b stop using jeweler, clean up Rakefile and put together a cleaner chin…
ippa authored
9 RSpec::Core::RakeTask.new { |t| }
c118301 @txus Added first rspec support
txus authored
10
4b3656b stop using jeweler, clean up Rakefile and put together a cleaner chin…
ippa authored
11 desc "Run the specs with rcov"
c118301 @txus Added first rspec support
txus authored
12 RSpec::Core::RakeTask.new(:rcov) do |t|
13 t.rcov = true
14 t.rcov_opts = ['-T', '--no-html', '--exclude spec,gem']
15 end
2ddc050 @txus FPSCounter spec
txus authored
16 task :default => :spec
4b3656b stop using jeweler, clean up Rakefile and put together a cleaner chin…
ippa authored
17
18 desc "Build gem"
19 task :build do
20 system "gem build chingu.gemspec"
81ed255 Rakefile fixes
ippa authored
21 puts "Moving into directory pkg"
22 system "mv chingu-#{Chingu::VERSION}.gem pkg/"
4b3656b stop using jeweler, clean up Rakefile and put together a cleaner chin…
ippa authored
23 end
24
25 desc "Release new gem"
81ed255 Rakefile fixes
ippa authored
26 task :release => :build do
762e5ec add missing '.gem'
ippa authored
27 system "gem push pkg/chingu-#{Chingu::VERSION}.gem"
4b3656b stop using jeweler, clean up Rakefile and put together a cleaner chin…
ippa authored
28 end
Something went wrong with that request. Please try again.