Permalink
Browse files

added a generic build script for webos - just run './devdeploy.sh' or…

… './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 c07939085c0d777a406cc34bbf55b8f8734585c8
Showing with 22 additions and 0 deletions.
  1. +5 −0 .palmignore
  2. +10 −0 devdeploy.sh
  3. +7 −0 package.sh
View
@@ -0,0 +1,5 @@
+.*
+packages
+package.sh
+devdeploy.sh
+enyo
View
@@ -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
View
@@ -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.