Sha256: f6b32a85734b9800e1335fcfddd06a4d7f1524f15d903d5d0e584617492075be

Contents?: true

Size: 373 Bytes

Versions: 100

Compression:

Stored size: 373 Bytes

Contents

namespace :site do
  task :build do
    mkdir_p 'tmp/site/images'
    cd 'tmp/site' do
      sh "SITE_ROOT='/thin' ruby ../../site/thin.rb --dump"
    end
    cp 'site/style.css', 'tmp/site'
    cp_r Dir['site/images/*'], 'tmp/site/images'
  end
  
  desc 'Upload website to code.macournoyer.com'
  task :upload => 'site:build' do
    upload 'tmp/site/*', 'thin'
  end
end

Version data entries

100 entries across 100 versions & 7 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.7.4 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.7.3 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
grockit-thin-0.8.2 tasks/site.rake
macournoyer-thin-1.0.1 tasks/site.rake
macournoyer-thin-1.1.0 tasks/site.rake
michaelyta-thin-1.2.2 tasks/site.rake
classiccms-0.7.2 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.7.1 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.7.0 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.9 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.8 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.7 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.6 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.5 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.4 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.3 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.2 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.1 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.6.0 vendor/bundle/gems/thin-1.3.1/tasks/site.rake