Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Waiting only for postgres backend

Cette révision appartient à :
tomleb 2017-05-06 19:17:13 -04:00
Parent dbb35cd336
révision 6798b30a16
1 fichiers modifiés avec 6 ajouts et 2 suppressions

Voir le fichier

@ -1,9 +1,13 @@
#!/bin/bash
set -ex
set -eux
# TODO Doesn't scale, find another way to wait until db is ready
sleep 40
if [[ "${PANTSU_DBTYPE}" = "postgres" ]]; then
echo 'Waiting for the database to be ready...'
sleep 40
fi
go get github.com/ewhal/nyaa
go generate ./...
go build