Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix test to use a file task for building native libs

  • Loading branch information...
commit 25fde47ac79bd834f65e69ff7626edfff4154a85 1 parent ac24573
Justin Balthrop authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 Rakefile
6 Rakefile
@@ -59,12 +59,14 @@ Rake::RDocTask.new do |rdoc|
59 59 rdoc.rdoc_files.include('lib/**/*.rb')
60 60 end
61 61
62   -namespace :test do
  62 +namespace :test => 'lib/memcache/native_server.o' do
63 63 Rake::TestTask.new(:native) do |t|
64   - `cd ext && make && cp native_server.bundle native_server.o ../lib/memcache/`
65 64 t.libs << 'test'
66 65 t.pattern = 'test/memcache_*native_server_test.rb'
67 66 t.verbose
68 67 end
69 68 end
70 69
  70 +file 'lib/memcache/native_server.o' do
  71 + `cd ext && ruby extconf.rb && make && cp native_server.bundle native_server.o ../lib/memcache/`
  72 +end

0 comments on commit 25fde47

Please sign in to comment.
Something went wrong with that request. Please try again.