Skip to content

Commit

Permalink
Add missing version
Browse files Browse the repository at this point in the history
  • Loading branch information
moogle19 committed Aug 2, 2022
1 parent 0979db1 commit a5404ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/excoding.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ defmodule Excoding do
otp_app: :excoding,
crate: "excoding",
base_url: "https://github.com/moogle19/excoding/releases/download/v#{version}",
force_build: System.get_env("RUSTLER_PRECOMPILATION_EXAMPLE_BUILD") in ["1", "true"],
mode: if(Mix.env() == :prod, do: :release, else: :debug)
force_build: System.get_env("RUSTLER_PRECOMPILATION_EXCODING_BUILD") in ["1", "true"],
mode: if(Mix.env() == :prod, do: :release, else: :debug),
version: version

@doc """
Encodes utf-8 string using given codepage. If there are any unknown codes they
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ defmodule Excoding.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:rustler, "~> 0.25.0"},
{:rustler_precompiled, "~> 0.5"},
{:rustler, ">= 0.0.0", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
Expand Down

0 comments on commit a5404ab

Please sign in to comment.