Sha256: d00ccf7f6c1ccefa59bd52258943b3a83ccc3b2467a281e8e194cab8c459b4aa

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

# frozen_string_literal: true

require "rake/testtask"

task :default => :test

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList["test/*_test.rb"]
end

namespace :db do
  desc %(Generate Emoji data files needed for development)
  task :generate => [
      "vendor/unicode-negarmoji-test.txt"
  ]

  desc %(Dump a list of supported Emoji with Unicode descriptions and aliases)
  task :dump => :generate do
    system "ruby", "-Ilib", "db/dump.rb"
  end
end

file "vendor/unicode-emoji-test.txt" do |t|
  system "curl", "-fsSL", "http://unicode.org/Public/emoji/12.1/emoji-test.txt", "-o", t.name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
negarmoji-0.1.6 Rakefile
negarmoji-0.1.5 Rakefile
negarmoji-0.1.4 Rakefile
negarmoji-0.1.3 Rakefile