https://github.com/genome/genome
Raw File
Tip revision: ac241acbf3dd7191875dcf87c0cbf0e2d9defe5d authored by Feiyu Du on 11 June 2014, 18:21:13 UTC
bug fix to copy tabix index over to build dir
Tip revision: ac241ac
genome-test-env
#!/usr/bin/env bash

# delegate to local version if it is found
if git rev-parse --is-inside-work-tree 1> /dev/null 2> /dev/null
then
    WORK_TREE="$(git rev-parse --show-toplevel)"
    BIN="$(basename "$0")"
    BIN="${WORK_TREE}/bin/${BIN}"
    if test "$0" != "$BIN" && test -x "$BIN"
    then
        exec "$BIN" "$@"
    fi
fi

unset WF_USE_FLOW
unset GENOME_QUERY_POSTGRES
export GENOME_LOG_USAGE=0
export UR_DBI_NO_COMMIT=1
export GE_ENV_NAME="genome-test-env"

export GENOME_SYS_SERVICES_FILES_URL="file:///"
export GENOME_TEST_URL="${GENOME_SYS_SERVICES_FILES_URL}/${GENOME_TEST_INPUTS}"

exec genome-env "$@"
back to top