Allow binary location to be specified via an environment variable
pantharshit00 opened this issue · 2 comments
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
For the crosslink, noted this thought here as well: #9 (comment)
It likely needs to branch off the code implanted in #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