From c16f642d073b86afb8f5333473e632f3057fb95a Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Thu, 22 Aug 2024 22:05:31 +0200 Subject: [PATCH] Debug install paths. --- metacall.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/metacall.rb b/metacall.rb index cb0f682..751e9f9 100644 --- a/metacall.rb +++ b/metacall.rb @@ -62,7 +62,7 @@ def install end # Add build folder to PATH in order to find node executable - # ENV.prepend_path "PATH", build_dir + ENV.prepend_path "PATH", bin # Set the compiler cc_compiler = `xcrun --find clang`.tr("\n","") @@ -182,6 +182,12 @@ def install } EOS + system "echo", "------------------------ TEST ------------------------" + system "echo", bin + system "ls", "-la", bin + system "echo", lib + system "ls", "-la", lib + # Tests assert_match "Hello from Python", shell_output("#{bin}/metacall test.py") assert_match "Hello from Ruby", shell_output("#{bin}/metacall test.rb")