2018-12-24 16:03:27 +00:00
|
|
|
#!/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"
|
2019-01-09 01:05:54 +00:00
|
|
|
export BUILD_OUTPUTS_DIR="${abs_path}/build"
|
2018-12-24 16:03:27 +00:00
|
|
|
|
|
|
|
exec "$@"
|