Skip to content

Commit

Permalink
Move the infector data generator out of the release path
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Jun 28, 2020
1 parent 3adfec4 commit 31b7d7b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/tasks/create_inflector.ex

This file was deleted.

16 changes: 16 additions & 0 deletions mix/tasks/create_inflector.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
defmodule Mix.Tasks.Text.CreateEnglishPlurals do
@moduledoc """
Mix task to create the plurals data set used
by the English inflector
"""

use Mix.Task

@shortdoc "Create the English plurals data set"

@doc false
def run(_) do
Text.Inflect.Data.En.save_data()
end
end

0 comments on commit 31b7d7b

Please sign in to comment.