Sha256: a94291a0cf00b08a50e8fa39499dc136cc3558da17375361bd884497f0fa917f

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task default: :spec

desc "Export all json files."
task :export_all_jsons do
  FileUtils.mkdir_p("output") if !File.exist?("output")
  require "emoji/data"
  IO.write "output/emoji-data.json", Emoji::Data.emoji_data_json
  IO.write "output/emoji-sequences.json", Emoji::Data.emoji_sequences_json
  IO.write "output/emoji-zwj-sequences.json", Emoji::Data.emoji_zwj_sequences_json
  IO.write "output/emoji-utr-51.json", Emoji::Data.emoji_utr_51_json
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emoji-data-1.0.0 Rakefile
emoji-data-0.1.0 Rakefile