v1.0.3 - support npm uninstall
This commit is contained in:
parent
ea8e9dd53b
commit
88db2f0555
5
Makefile
5
Makefile
@ -13,7 +13,7 @@ demo.app: demo Info.plist
|
|||||||
demo: demo.c
|
demo: demo.c
|
||||||
$(IOS_CC) -arch armv7 -isysroot $(IOS_SDK) -framework CoreFoundation -o 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
|
$(IOS_CC) -o ios-deploy -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
|
||||||
|
|
||||||
symlink:
|
symlink:
|
||||||
@ -23,6 +23,9 @@ install: symlink ios-deploy
|
|||||||
mkdir -p $(prefix)/bin
|
mkdir -p $(prefix)/bin
|
||||||
cp ios-deploy $(prefix)/bin
|
cp ios-deploy $(prefix)/bin
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm $(prefix)/bin/ios-deploy
|
||||||
|
|
||||||
debug: all
|
debug: all
|
||||||
./ios-deploy --debug --bundle demo.app
|
./ios-deploy --debug --bundle demo.app
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "ios-deploy",
|
"name": "ios-deploy",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "launch iOS apps iOS devices from the command line (Xcode 4)",
|
"description": "launch iOS apps iOS devices from the command line (Xcode 4)",
|
||||||
"main": "ios-deploy",
|
"main": "ios-deploy",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"install": "make install prefix=/usr/local"
|
"preinstall": "make ios-deploy"
|
||||||
},
|
},
|
||||||
|
"bin" : "./ios-deploy" ,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phonegap/ios-deploy"
|
"url": "https://github.com/phonegap/ios-deploy"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user