Sha256: 4741ee80b6e41fbae70e0e0cc92fb983ac55bb55b213d3b592752c93c425981a

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

ssh_user = "user@domain.com" # for rsync deployment
remote_root = "~/path/to/remote/" # for rsync deployment

namespace :styles do
  desc "Clear styles"
  task :clear do
    puts "*** Clearing styles ***"
    system "rm -Rfv css/*"
  end
  desc "Generate styles"
  task :generate => [:clear] do
    puts "*** Generating styles ***"
    system "compass"
  end
end

desc "Clears the styles, generates new ones and then deploys the theme"
task :deploy => 'styles:generate' do
  puts "*** Deploying the site ***"
  system("rsync -avz --delete . #{ssh_user}:#{remote_root}")
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
compass-wordpress-0.1.2 templates/project/Rakefile
compass-wordpress-0.1.2 templates/thematic/Rakefile
compass-wordpress-0.1.1 templates/project/Rakefile
compass-wordpress-0.1.1 templates/thematic/Rakefile