From 779808f83245d41fcad53f3452d1423d2d64691d Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Sun, 14 Dec 2014 15:31:08 -0800 Subject: [PATCH] make sure we set the default VHOST to match test env --- tests.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests.mk b/tests.mk index 35ad5694e..49173febb 100644 --- a/tests.mk +++ b/tests.mk @@ -39,6 +39,11 @@ endif @echo "-----> Intitial SSH connection to populate known_hosts..." ssh -o StrictHostKeyChecking=no dokku@dokku.me help > /dev/null +ifeq ($(shell grep dokku.me /home/dokku/VHOST),) + @echo "-----> Setting default VHOST to dokku.me..." + echo "dokku.me" > /home/dokku/VHOST +endif + bats: git clone https://github.com/sstephenson/bats.git /tmp/bats cd /tmp/bats && sudo ./install.sh /usr/local