What does the `-install` tag do on the `rescript build` command?

I have read the help output from rescript build -h and it says:

-install Install public interface files for dependencies

What is meant by installing the public interface files? I guess this means the *.res files?

Can someone please explain what happens differently between when I run rescript build and rescript build -install and why I would do the latter?



It is supposed to be non public, we will hide it.
It was carried from the old bsb command to solve a niche use case for some users, we will re-expose it in a better way in the future.

1 Like