Skip to content

Commit

Permalink
Debug install paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Aug 22, 2024
1 parent 33818e2 commit c16f642
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion metacall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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","")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit c16f642

Please sign in to comment.