Closed pantharshit00 closed 3 years ago
For the crosslink, noted this thought here as well: https://github.com/toastdotdev/toast/issues/9#issuecomment-705161653
It likely needs to branch off the code implanted in https://github.com/toastdotdev/toast/pull/15 as I had to soft fork binary-install.
TOAST_BINARY
can accept a path to the toast binary now when running, and TOAST_PREVENT_INSTALL
allows the installation of the node package without pulling down a binary from the releases. #43 adds more instructions as well
Right now there is no good way to provide a custom toast binary to the node wrapper so it makes it hard to debug toast during development for a contributor.
Adding this option also enables users of currently not support platforms like ARM, Nix and freebsd to compile toast from source and use via this env variable option.
We can call it
TOAST_BINARY_LOCATION