Sha256: 8143439ed932ba9d9dd1b9f81a0b26bd0a0391326924c925bcc57f9b5c899455

Contents?: true

Size: 609 Bytes

Versions: 87

Compression:

Stored size: 609 Bytes

Contents

# Copyright 2009-2010 by le1t0@github. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 
  namespace :deprec do
    namespace :aspell do
      
      set :aspell_languages, [ :en, :fr, :de, :es ]
      
      desc "Install ASpell"
      task :install do
        install_deps
      end
      
      # Install dependencies for aspell
      task :install_deps do
        apt.install( {:base => %w(aspell libaspell-dev libaspell15)}, :stable )
        aspell_languages.each do |lang|
          apt.install( {:base => "aspell-#{lang}"}, :stable )
        end
      end
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
le1t0-deprec-2.1.6.007 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.006 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.005 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.004 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.003 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.002 lib/deprec/recipes/aspell.rb
le1t0-deprec-2.1.6.001 lib/deprec/recipes/aspell.rb