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.3.8 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.7 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.6 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.5 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.4 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.3 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.2 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.1 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.3.0 vendor/bundle/gems/thin-1.3.1/tasks/site.rake
classiccms-0.2.4.pre vendor/bundle/gems/thin-1.3.1/tasks/site.rake
thin-1.3.1 tasks/site.rake
thin-1.3.0 tasks/site.rake
thin-1.2.11 tasks/site.rake
thin-1.2.11-x86-mswin32 tasks/site.rake
thin-1.2.11-x86-mingw32 tasks/site.rake
thin-1.2.10 tasks/site.rake
thin-1.2.10-x86-mswin32 tasks/site.rake
thin-1.2.10-x86-mingw32 tasks/site.rake
thin-1.2.9 tasks/site.rake
thin-1.2.9-x86-mswin32 tasks/site.rake