forked from deadprogram/phonegap-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9aacb7f
commit e7f206b
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#! /bin/sh | ||
# | ||
# Creates an app in `./bench` that posts results to http://phonegap-bench.heroku.com with current PhoneGap/Android sha. | ||
# | ||
# USAGE | ||
# ./bin/bench | ||
# | ||
|
||
# clobber any existing bench | ||
if [ -e ./bench ] | ||
then | ||
rm -rf ./bench | ||
fi | ||
|
||
# create a benching app | ||
./bin/create ./bench com.phonegap.bench PhoneGapBench | ||
|
||
# grab the latest bench www code | ||
git clone [email protected]:brianleroux/phonegap-bench.git | ||
|
||
# copy it into the app | ||
cat ./phonegap-bench/www/index.html > ./bench/assets/www/index.html | ||
#cat ~/Desktop/phonegap-bench/www/index.html > ./bench/assets/www/index.html | ||
|
||
# clean up | ||
rm -rf ./phonegap-bench | ||
|
||
# launch to the first device found | ||
./bin/debug ./bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#! /bin/sh | ||
set -e | ||
|
||
VERSION=$(cat ./VERSION) | ||
|
||
# get the latest mobile-spec | ||
|
Empty file.