Skip to content

Commit

Permalink
chore: remove rustler precompiled
Browse files Browse the repository at this point in the history
Signed-off-by: VincentRPS <vincentbusiness55@gmail.com>
  • Loading branch information
VincentRPS authored Dec 3, 2024
1 parent fa0c44a commit 374f51b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/jsonrs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ defmodule Jsonrs do
source_url = Mix.Project.config()[:source_url]

Check warning on line 6 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.13, 24)

variable "source_url" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 6 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.14, 25)

variable "source_url" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 6 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.15, 26)

variable "source_url" is unused (if the variable is not meant to be used, prefix it with an underscore)
version = Mix.Project.config()[:version]

Check warning on line 7 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.13, 24)

variable "version" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 7 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.14, 25)

variable "version" is unused (if the variable is not meant to be used, prefix it with an underscore)

Check warning on line 7 in lib/jsonrs.ex

View workflow job for this annotation

GitHub Actions / Build and test (1.15, 26)

variable "version" is unused (if the variable is not meant to be used, prefix it with an underscore)

use RustlerPrecompiled, otp_app: :jsonrs,
base_url: "#{source_url}/releases/download/v#{version}",
force_build: System.get_env("FORCE_JSONRS_BUILD") in ["1", "true"],
targets: RustlerPrecompiled.Config.default_targets(),
version: version

@type compression_algorithm :: :gzip | :none
@type compression_level :: non_neg_integer()
@type compression_options :: {compression_algorithm(), compression_level()}
Expand Down

0 comments on commit 374f51b

Please sign in to comment.