diff options
-rw-r--r-- | .envrc | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +guile_version=$(guile -c '(display (version))') + +if [ "${GUILE_LOAD_PATH:-no}" = "no" ]; then + export GUILE_LOAD_PATH="$PWD/module" +else + export GUILE_LOAD_PATH="$PWD/module:$GUILE_LOAD_PATH" +fi + +if [ "${GUILE_LOAD_COMPILED_PATH:-no}" = "no" ]; then + export GUILE_LOAD_COMPILED_PATH="$PWD/obj-${guile_version}" +else + export GUILE_LOAD_COMPILED_PATH="$PWD/obj-${guile_version}:$GUILE_LOAD_COMPILED_PATH" +fi +unset guile_version + +export PATH="$PWD/static/node_modules/.bin:$PATH" +export PATH="$PWD/scripts/:$PATH" |