Add the Nimble bin directory to the PATH
I'm using this directory as a place to put the new testrunner exe from the testutils package. For now, I'm doing this manually, but it may be automated by the Makefiles in the future.
This commit is contained in:
parent
2c4faa5372
commit
9f43764458
|
@ -27,13 +27,13 @@ export GO111MODULE=on
|
||||||
# looks like oh-my-zsh can't handle dots in PATH
|
# looks like oh-my-zsh can't handle dots in PATH
|
||||||
export NIM_PATH=$(cd "${ABS_PATH}/../vendor/Nim/bin"; pwd)
|
export NIM_PATH=$(cd "${ABS_PATH}/../vendor/Nim/bin"; pwd)
|
||||||
|
|
||||||
#- make it an absolute path, so we can call this script from other dirs
|
|
||||||
#- we can't use native Windows paths in here, because colons can't be escaped in PATH
|
|
||||||
export PATH="${NIM_PATH}:${GOPATH}/bin:${PATH}"
|
|
||||||
|
|
||||||
# Nimble needs this to be an absolute path
|
# Nimble needs this to be an absolute path
|
||||||
export NIMBLE_DIR="${ABS_PATH}/../../.nimble"
|
export NIMBLE_DIR="${ABS_PATH}/../../.nimble"
|
||||||
|
|
||||||
|
#- make it an absolute path, so we can call this script from other dirs
|
||||||
|
#- we can't use native Windows paths in here, because colons can't be escaped in PATH
|
||||||
|
export PATH="${NIM_PATH}:${NIMBLE_DIR}/bin:${GOPATH}/bin:${PATH}"
|
||||||
|
|
||||||
# used by nim-beacon-chain/tests/simulation/start.sh
|
# used by nim-beacon-chain/tests/simulation/start.sh
|
||||||
export BUILD_OUTPUTS_DIR="${ABS_PATH}/../../../build"
|
export BUILD_OUTPUTS_DIR="${ABS_PATH}/../../../build"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue