Sha256: 6846e7b39e3d5c6289519abed3fb08fa5fa857add809ef6ed2e7aceaec212228

Contents?: true

Size: 691 Bytes

Versions: 4

Compression:

Stored size: 691 Bytes

Contents

namespace :dm do
  namespace :install do
    
    desc 'Install DataObjects.rb Mysql Driver'
    task :mysql do
      %x(cd #{File.dirname(__FILE__) + '/../plugins/dataobjects/swig_mysql/'} && ruby extconf.rb && make && sudo make install)
    end
    
    desc 'Install DataObjects.rb SQLite3 Driver'
    task :sqlite3 do
      %x(cd #{File.dirname(__FILE__) + '/../plugins/dataobjects/swig_sqlite/'} && ruby extconf.rb && make && sudo make install)
    end
    
    desc 'Install DataObjects.rb PostgreSQL Driver'
    task :postgresql do
      %x(cd #{File.dirname(__FILE__) + '/../plugins/dataobjects/swig_postgres/'} && ruby extconf.rb && make && sudo make install)
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datamapper-0.2.0 tasks/drivers.rb
datamapper-0.2.1 tasks/drivers.rb
datamapper-0.2.2 tasks/drivers.rb
datamapper-0.2.3 tasks/drivers.rb