-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 729 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: clef clef-tests clean-clef help
help:
@echo "clef -- Add the Clef Native plugin, whose path is CLEF_NATIVE_PLUGIN_PATH"
@echo "clef-tests -- Add the Clef Native plugin's tests"
@echo "clean-clef -- Remove all Clef Native related plugins"
android:
cordova platform add android --save
ios:
cordova platform add ios --save
clean-ios:
cordova platform rm ios --save
prepare:
cordova prepare
run:
cordova run --device
emulate:
cordova emulate
clef:
cordova plugin add $(CLEF_NATIVE_PLUGIN_PATH) --save
clef-tests:
cordova plugin add $(CLEF_NATIVE_PLUGIN_PATH)/tests --save
clean: clean-clef clean-ios
clean-clef:
cordova plugins list | grep clef | cut -f 1 -d " " | xargs -L 1 cordova plugins rm --save