Skip to content

Commit

Permalink
added a generic build script for webos - just run './devdeploy.sh' or…
Browse files Browse the repository at this point in the history
… './devdeploy.sh -r' with the emulator running;

the -r option removes the package from the emulator first if you want to test a clean-install scenario;
  • Loading branch information
ryedin committed Jun 10, 2011
1 parent 189e98c commit c079390
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .palmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.*
packages
package.sh
devdeploy.sh
enyo
10 changes: 10 additions & 0 deletions devdeploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
REMOVE=$1
if [ "$REMOVE" = "-r" ]; then
palm-install -r com.funkatron.app.spaz-hd
fi
./package.sh
VERSION=`cat appinfo.json | egrep -o '"version":\s"([^"]*)"' | sed -r 's/"version":\s"([^"]*)"/\1/'`
PACKAGE_NAME="com.funkatron.app.spaz-hd_"$VERSION"_all.ipk"
palm-install packages/$PACKAGE_NAME
palm-launch com.funkatron.app.spaz-hd
7 changes: 7 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
cd vendors
cp spazcore-standard.js spazcore.js
cd ..
git checkout master
mkdir packages
palm-package -o ./packages -X ./.palmignore --ignore-case ./

0 comments on commit c079390

Please sign in to comment.