Sha256: 8896052e727467d8b2e429125715b29593b89f5de6b4b5efd89c15550ba21f0c

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

require "nightcrawler_swift"

namespace :nightcrawler_swift do
  namespace :rails do

    desc "Synchronizes the assets"
    task asset_sync: ["assets:precompile", "environment"] do
      raise unless defined?(Rails)
      NightcrawlerSwift.sync File.join(Rails.root, "public")
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nightcrawler_swift-0.1.1 lib/nightcrawler_swift/tasks/asset_sync.rake
nightcrawler_swift-0.1.0 lib/nightcrawler_swift/tasks/asset_sync.rake