Skip to content

Commit

Permalink
Add rake task to generate regex constants
Browse files Browse the repository at this point in the history
  • Loading branch information
radarek committed Oct 4, 2021
1 parent f7aec4d commit 3a8b744
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ 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

0 comments on commit 3a8b744

Please sign in to comment.