From 813637eb78cfddd370daf3255bb48a75143ffabd Mon Sep 17 00:00:00 2001 From: Bryce Curtis Date: Mon, 31 Oct 2011 20:45:38 -0500 Subject: [PATCH] Update to download and run callback-test repository. --- bin/test | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/test b/bin/test index 185a90db..226edd2d 100755 --- a/bin/test +++ b/bin/test @@ -4,7 +4,7 @@ set -e VERSION=$(cat ./VERSION) # get the latest mobile-spec -git clone git@github.com:phonegap/mobile-spec.git +git clone git@github.com:callback/callback-test.git # clobber test if it exists if [ -e ./test ] @@ -17,7 +17,10 @@ fi # kill the default app and replace it w/ mobile-spec rm -rf ./test/assets/www -mv ./mobile-spec ./test/assets/www +mv ./callback-test ./test/assets/www + +# copy in phonegap.js since www dir was replaced above +cp ./framework/assets/www/phonegap-$VERSION.js ./test/assets/www/phonegap-$VERSION.js # build it, launch it and start logging on stdout -cd ./test && ./bin/debug && ./bin/log +cd ./test && ./phonegap/debug && ./phonegap/log