/
alt3rmann
/
graphql-engine
Обзор
Документация
Войти
/
alt3rmann
/
graphql-engine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
scripts/cabal-run.sh
23 строки
364 B
Robert
multitenant tests: reduce reliance on env vars, use fake cabal run
24 янв 2022, 21:15
24 янв 2022, 21:15
5df40cc
Код
Авторство
О чём код?
#!/usr/bin/env bash # cabal-run.sh target args # # is equivalent to # # cabal run target --args # # except that killing it will also kill the target. # # https://github.com/haskell/cabal/issues/7914 set -euo pipefail target="$1" shift echo "building target: ${target}" cabal build "$target" executable=$(cabal list-bin "$target") exec "$executable" "$@"