Sha256: 8766d2f6b95728e13765b29597ef81d76f11ead06c6b529e8e12cc75c2aa90a7

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

namespace :apispree_auth do
  desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)"
  task :install do
    Rake::Task['spree_auth:install:migrations'].invoke
    Rake::Task['spree_auth:install:assets'].invoke
  end

  namespace :install do

    desc "Copies all migrations (NOTE: This will be obsolete with Rails 3.1)"
    task :migrations do
      source = File.join(File.dirname(__FILE__), '..', '..', 'db')
      destination = File.join(Rails.root, 'db')
      Spree::FileUtilz.mirror_files(source, destination)
    end

    desc "Copies all assets (NOTE: This will be obsolete with Rails 3.1)"
    task :assets do
      # No assets
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apispree_auth-0.0.0 lib/tasks/install.rake