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")