Skip to content

Instantly share code, notes, and snippets.

@nils-werner
Created July 7, 2011 12:55
Show Gist options
  • Save nils-werner/1069443 to your computer and use it in GitHub Desktop.
Save nils-werner/1069443 to your computer and use it in GitHub Desktop.
Various handy webOS files
#
# Makefile for Palm WebOS Enyo
#
#
PACKAGE = com.yourapp.name
DEVICE = tcp
.PHONY: web
web:
chromium-browser --disable-web-security --allow-file-access-from-files application/index.html &> /dev/null &
help:
chromium-browser --disable-web-security --allow-file-access-from-files /opt/PalmSDK/Current/share/refcode/framework/enyo/1.0/support/docs/api/index.html &> /dev/null &
examples:
nautilus /opt/PalmSDK/Current/share/refcode/framework/enyo/1.0/support/
%.ipk:
rm -rf *.ipk
palm-package package application services/oauth
package: %.ipk
clean:
rm -rf *.ipk
- palm-install -d $(DEVICE) -r $(PACKAGE)
install: package
palm-install -d $(DEVICE) *.ipk
launch:
palm-launch -d $(DEVICE) $(PACKAGE)
log: launch
palm-log -d $(DEVICE) -f $(PACKAGE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment