mediocre-go-lib/env.test

6 lines
200 B
Plaintext
Raw Permalink Normal View History

2018-02-15 22:47:18 +00:00
if [ "$(ps aux | grep '[p]ubsub-emulator')" = "" ]; then
echo "starting pubsub emulator"
yes | gcloud beta emulators pubsub start >/dev/null 2>&1 &
fi
$(gcloud beta emulators pubsub env-init)