Changeset 412

Show
Ignore:
Timestamp:
07/13/07 18:34:20 (1 year ago)
Author:
blackhedd
Message:

added a task that just compiles the extension

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/Rakefile

    r398 r412  
    267267task :default => [ :gem ] 
    268268 
     269 
     270 
     271# This task is useful for development. 
     272desc "Compile the extension." 
     273task :extension do |t| 
     274        Dir.mkdir "nonversioned" unless File.directory?("nonversioned") 
     275        Dir.chdir "nonversioned" 
     276        system "ruby ../ext/extconf.rb" 
     277        system "make clean" 
     278        system "make" 
     279        system "cp *.so ../lib" or system "copy *.so ../lib" 
     280        Dir.chdir ".." 
     281end 
     282 
     283