Skip to content

Commit

Permalink
Compress the prebuilt binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dannote committed Jun 2, 2021
1 parent a8a8d47 commit b018cd3
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add `tongue` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[{:tongue, "~> 2.0"}]
[{:tongue, "~> 2.2"}]
end
```

Expand Down
6 changes: 3 additions & 3 deletions lib/mix/tasks/tongue/prebuild.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do
end
end)
|> Enum.reject(&is_nil/1)
|> :erlang.term_to_binary()
|> :erlang.term_to_binary([:compressed])
)
end

Expand All @@ -49,7 +49,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do
|> String.to_charlist()
}
end)
|> :erlang.term_to_binary()
|> :erlang.term_to_binary([:compressed])
)
end

Expand Down Expand Up @@ -91,7 +91,7 @@ defmodule Mix.Tasks.Tongue.Prebuild do
languages: languages,
ngrams_frequencies: ngrams_frequencies
}
|> :erlang.term_to_binary()
|> :erlang.term_to_binary([:compressed])
)
end
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Tongue.MixProject do
def project do
[
app: :tongue,
version: "2.1.0",
version: "2.2.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down
Binary file modified priv/messages.binary
Binary file not shown.
Binary file modified priv/profiles.binary
Binary file not shown.
Binary file modified priv/unicode_blocks.binary
Binary file not shown.

0 comments on commit b018cd3

Please sign in to comment.