Project

General

Profile

Patch #2265 » engines.rake.diff

Thomas Löber, 2009-02-20 16:30

View differences:

vendor/plugins/engines/tasks/engines.rake (Arbeitskopie)
44 44
    end
45 45

  
46 46
    desc 'Migrate a specified plugin.'
47
    task({:plugin => :environment}, :name, :version) do |task, args|
47
    task :plugin, [:name, :version] => :environment do |task, args|
48 48
      name = args[:name] || ENV['NAME']
49 49
      if plugin = Engines.plugins[name]
50 50
        version = args[:version] || ENV['VERSION']
(2-2/2)