Sha256: 96c3fb45830d5145fb1e5f22b7a1d53052acb12ef352207fc7278d4d59e1ac72
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
require "nightcrawler_swift" namespace :nightcrawler_swift do namespace :rails do desc "Synchronizes the public directory with OpenStack Swift" task asset_sync: ["assets:precompile", "environment"] do begin NightcrawlerSwift.sync File.join(Rails.root, "public") rescue => e STDERR.puts e.message exit 1 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nightcrawler_swift-0.3.0 | lib/nightcrawler_swift/tasks/asset_sync.rake |