Sha256: 349ba5d12734b0dff9ec523a45f7181e3a17a49b9e436ff065a822b9450bc972
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 Bytes
Contents
RESIZED_ASSETS.zip(RESIZABLE_ASSETS).each do |target, source| desc "Resize #{source} to #{target}" file target => source do sh "gm convert #{source} -geometry '1920x1080>' #{target}" end end ASSETS.zip(ASSET_SOURCES).each do |target, source| desc "Copy #{source} to #{target}" file target => source do cp source, target end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
revealing-1.0.2 | lib/revealing/tasks/assets.rake |
revealing-1.0.1 | lib/revealing/tasks/assets.rake |
revealing-1.0.0 | lib/revealing/tasks/assets.rake |