Rakefile in unicode-emoji-2.9.0 vs Rakefile in unicode-emoji-3.0.0
- old
+ new
@@ -33,5 +33,10 @@
desc "#{gemspec.name} | Spec"
task :spec do
ruby "spec/unicode_emoji_spec.rb"
end
task default: :spec
+
+desc "#{gemspec.name} | Generates all regex constants and saves them to lib/unicode/emoji/{generated,generated_native} directories"
+task :generate_constants do
+ load "data/generate_constants.rb", true
+end