We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3fd40 commit e7e8b9eCopy full SHA for e7e8b9e
2 files changed
lib/quickbeam/js.ex
@@ -11,7 +11,7 @@ defmodule QuickBEAM.JS do
11
12
# ── Polyfill compilation (compile-time only) ──
13
14
- @ts_dir Path.join([__DIR__, "../../priv/ts"]) |> Path.expand()
+ @ts_dir Application.app_dir(:quickbeam, "priv/ts")
15
16
for ts <- Path.wildcard(Path.join(@ts_dir, "*.ts")),
17
not String.ends_with?(ts, ".d.ts") do
lib/quickbeam/native.ex
@@ -3,7 +3,7 @@ defmodule QuickBEAM.Native do
3
4
@version Mix.Project.config()[:version]
5
6
- @c_src_dir Path.expand("../../priv/c_src", __DIR__)
+ @c_src_dir Application.app_dir(:quickbeam, "priv/c_src")
7
@hidden_cflags ["-fvisibility=hidden"]
8
@lexbor_base_cflags [
9
"-std=c99",
0 commit comments