Skip to content

Commit

Permalink
Fix use of to_existing_atom (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-b99 authored Sep 3, 2024
1 parent 0d1140d commit 420cdc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/pact_ex.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ defmodule PactEx do
crate: "pact_ex",
base_url: "https://github.com/Multiverse-io/pact_ex/releases/download/v#{version}",
version: version,
mode: System.get_env("RUSTLER_PACT_EX_MODE", "release") |> String.to_existing_atom(),
mode:
(case System.get_env("RUSTLER_PACT_EX_MODE") do
"debug" -> :debug
_ -> :release
end),
force_build: System.get_env("RUSTLER_PRECOMPILATION_PACT_EX_BUILD") in ["1", "true"],
targets: [
"aarch64-apple-darwin",
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule PactEx.MixProject do
use Mix.Project

@version "0.3.0"
@version "0.3.1"

def project do
[
Expand Down

0 comments on commit 420cdc4

Please sign in to comment.