We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd38583 commit 181b880Copy full SHA for 181b880
lib/exstatic/native.ex
@@ -1,14 +1,14 @@
1
defmodule Exstatic.Native do
2
@moduledoc false
3
- version = Mix.Project.config()[:version]
+ config = Mix.Project.config()
4
5
use RustlerPrecompiled,
6
otp_app: :exstatic,
7
crate: "exstatic",
8
- base_url: {Exstatic.ReleaseHelper, :github_release_url!},
+ base_url: "#{config[:source_url]}/releases/download/v#{config[:version]}",
9
force_build: System.get_env("EXSTATIC_BUILD") == "true",
10
nif_versions: ["2.16"],
11
- version: version,
+ version: config[:version],
12
targets: ~w(
13
aarch64-apple-darwin
14
x86_64-apple-darwin
0 commit comments