ghcup-hs/.gitlab/ghcup_env

12 lines
431 B
Plaintext
Raw Normal View History

2021-05-14 21:09:45 +00:00
if [ "${OS}" = "WINDOWS" ] ; then
export GHCUP_INSTALL_BASE_PREFIX="$CI_PROJECT_DIR"
2021-09-19 11:50:51 +00:00
export GHCUP_BIN="$CI_PROJECT_DIR/ghcup/bin"
export PATH="$GHCUP_BIN:$CI_PROJECT_DIR/.local/bin:$PATH"
2021-05-14 21:09:45 +00:00
export TMPDIR="$CI_PROJECT_DIR/tmp"
else
export GHCUP_INSTALL_BASE_PREFIX="$CI_PROJECT_DIR"
2021-09-19 11:50:51 +00:00
export GHCUP_BIN="$CI_PROJECT_DIR/.ghcup/bin"
export PATH="$GHCUP_BIN:$CI_PROJECT_DIR/.local/bin:$PATH"
2021-05-14 21:09:45 +00:00
export TMPDIR="$CI_PROJECT_DIR/tmp"
fi