Skip to content

Commit e7e8b9e

Browse files
committed
Use application priv paths
1 parent db3fd40 commit e7e8b9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/quickbeam/js.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule QuickBEAM.JS do
1111

1212
# ── Polyfill compilation (compile-time only) ──
1313

14-
@ts_dir Path.join([__DIR__, "../../priv/ts"]) |> Path.expand()
14+
@ts_dir Application.app_dir(:quickbeam, "priv/ts")
1515

1616
for ts <- Path.wildcard(Path.join(@ts_dir, "*.ts")),
1717
not String.ends_with?(ts, ".d.ts") do

lib/quickbeam/native.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule QuickBEAM.Native do
33

44
@version Mix.Project.config()[:version]
55

6-
@c_src_dir Path.expand("../../priv/c_src", __DIR__)
6+
@c_src_dir Application.app_dir(:quickbeam, "priv/c_src")
77
@hidden_cflags ["-fvisibility=hidden"]
88
@lexbor_base_cflags [
99
"-std=c99",

0 commit comments

Comments
 (0)