/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.devcontainer/scripts/initializeCommand
17 строк
405 B
Brian Kroth
devcontainer improvements (#260)
22 мар 2023, 20:17
Не верифицирован
22 мар 2023, 20:17
5551be1
Код
Авторство
О чём код?
#!/bin/sh set -eu set -x scriptdir=$(dirname "$(readlink -f "$0")") # Start in the root of the repository. cd "$scriptdir/../../" # Make sure the .env file exists for the devcontainer to load. if [ ! -f .env ]; then echo "Creating empty .env file for devcontainer." touch .env fi # Attempt to pre-create the maven cache directory for bind mounting into the devcontainer. mkdir -p ~/.m2 || true