Sha256: 487c57df45dc69aa2ed846d5841af50ebd9de3c3a61085817db3dd861c793cf4
Contents?: true
Size: 378 Bytes
Versions: 23
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true namespace :thredded do namespace :install do desc 'Copy emoji to the Rails `public/emoji` directory' task :emoji do require 'emoji' target = Rails.application.root.join('public') STDERR.puts "Copying emoji to #{target}" `mkdir -p '#{target}' && cp -Rp '#{Emoji.images_path}/emoji' '#{target}'` end end end
Version data entries
23 entries across 23 versions & 2 rubygems