Reecepbcups / local-interchain

A local testing environment for any IBC chain via InterchainTest
11 stars 2 forks source link

[build] on make, get $(pwd) and save into the bin #30

Closed Reecepbcups closed 1 year ago

Reecepbcups commented 1 year ago

Maybe echo to a file. then someone retrieve this on bin execute.

doing so would allow the local-ic to be put anywhere.

Just, how to store plaintext into a binary & access hmm

Reecepbcups commented 1 year ago

maybe something like https://stackoverflow.com/questions/28459102/golang-compile-environment-variable-into-binary

how to access at run of bin though?

-x main.working_dir=$(pwd)

then var workingDir string

should auto load it on start of main?