v1.0.3 - support npm uninstall

This commit is contained in:
Shazron Abdullah 2013-07-29 15:52:34 -07:00
parent ea8e9dd53b
commit 88db2f0555
2 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,7 @@ demo.app: demo Info.plist
demo: demo.c
$(IOS_CC) -arch armv7 -isysroot $(IOS_SDK) -framework CoreFoundation -o demo demo.c
ios-deploy: ios-deploy.c
ios-deploy: clean ios-deploy.c
$(IOS_CC) -o ios-deploy -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
symlink:
@ -23,6 +23,9 @@ install: symlink ios-deploy
mkdir -p $(prefix)/bin
cp ios-deploy $(prefix)/bin
uninstall:
rm $(prefix)/bin/ios-deploy
debug: all
./ios-deploy --debug --bundle demo.app

View File

@ -1,11 +1,12 @@
{
"name": "ios-deploy",
"version": "1.0.2",
"version": "1.0.3",
"description": "launch iOS apps iOS devices from the command line (Xcode 4)",
"main": "ios-deploy",
"scripts": {
"install": "make install prefix=/usr/local"
"preinstall": "make ios-deploy"
},
"bin" : "./ios-deploy" ,
"repository": {
"type": "git",
"url": "https://github.com/phonegap/ios-deploy"