mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-28 04:55:33 +00:00
da79a7e996
Additional changes: - Makefile verbosity control - nimble.sh can now run in parallel on the same *.nimble file - nimble.sh no longer used in the Makefile, in favour of a nimbus.nims symlink that eliminates race risks in parallel jobs - nimbus.nimble takes extra params in the command line, with the caveat that they also apply to nim - setCommand() replaced with exec(), to avoid splitting param strings
17 lines
389 B
Bash
Executable File
17 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rel_path="$(dirname $0)"
|
|
abs_path="$(cd $rel_path; pwd)"
|
|
|
|
# make it an absolute path, so we can call this script from other dirs
|
|
export PATH="${abs_path}/vendor/Nim/bin:$PATH"
|
|
|
|
# Nimble needs this to be an absolute path
|
|
export NIMBLE_DIR="${abs_path}/vendor/.nimble"
|
|
|
|
# used by nim-beacon-chain/tests/simulation/start.sh
|
|
export BUILD_OUTPUTS_DIR="${abs_path}/build"
|
|
|
|
exec "$@"
|
|
|