Skip to content

Commit

Permalink
Update to download and run callback-test repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycecurtis committed Nov 1, 2011
1 parent e4a5000 commit 813637e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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

0 comments on commit 813637e

Please sign in to comment.