git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Commit 202011417d9cd16f989ff970305cf32d00456ac0

Make rake compile behave better, make the default task a full recompile and spec run.

Coda Hale committed on 5/8/2008, 12:26:39 AM
Parent: 1696fcde2d7720cd5da20e4c16a39e9455f7d16d

Files changed

Rakefilechanged
RakefileView
@@ -25,9 +25,9 @@
2525 CLOBBER.include(
2626 "doc/coverage"
2727 )
2828
29-task :default => [:spec]
29+task :default => [:compile, :spec]
3030
3131 desc "Run all specs"
3232 Spec::Rake::SpecTask.new do |t|
3333 t.spec_files = FileList['spec/**/*_spec.rb']
@@ -88,8 +88,9 @@
8888 task :compile => [:clean] do
8989 Dir.chdir('./ext')
9090 system "ruby extconf.rb"
9191 system "make"
92+ Dir.chdir('..')
9293 end
9394
9495 desc "Run a set of benchmarks on the compiled extension."
9596 task :benchmark do

Built with git-ssb-web