0
|
1 #mc40 is "On Device Storage"
|
|
2 #tc55 is "Internal Storage"
|
|
3
|
|
4 dest=/run/user/1000/gvfs/mtp*/*torage/Download
|
|
5 apk='bin/510ConnectbotMonitor-debug.apk'
|
|
6
|
|
7 all:
|
|
8 hg pull; hg update; rm -rf gen bin
|
|
9 android update project -p . -t android-16
|
|
10 ant debug
|
|
11
|
|
12 install:
|
|
13 cp $(apk) $(dest)
|
|
14 ls -al $(apk) $(dest)
|
|
15
|
|
16 indentc:
|
|
17 indent --line-length100 \
|
|
18 --brace-indent4 \
|
|
19 --braces-on-if-line \
|
|
20 --braces-on-func-def-line \
|
|
21 --case-brace-indentation4 \
|
|
22 --case-indentation4 \
|
|
23 --comment-indentation60 \
|
|
24 --cuddle-else \
|
|
25 --declaration-comment-column60 \
|
|
26 --no-tabs \
|
|
27 -nbbo \
|
|
28 -npcs \
|
|
29 -nprs \
|
|
30 -npsl \
|
|
31 -saf -sai -saw \
|
|
32 -i4 \
|
|
33 $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp)
|
|
34
|
|
35 indentjava:
|
|
36 astyle --style=java \
|
|
37 --attach-namespaces \
|
|
38 --attach-classes \
|
|
39 --indent-classes \
|
|
40 --indent-switches \
|
|
41 --indent-cases \
|
|
42 --indent-namespaces \
|
|
43 --break-blocks \
|
|
44 --pad-oper \
|
|
45 --pad-first-paren-out \
|
|
46 --pad-header \
|
|
47 --unpad-paren \
|
|
48 --delete-empty-lines \
|
|
49 --align-pointer=type \
|
|
50 --break-closing-brackets \
|
|
51 --keep-one-line-blocks \
|
|
52 --keep-one-line-statements \
|
|
53 --convert-tabs \
|
|
54 --break-after-logical \
|
|
55 --mode=java \
|
|
56 $(shell find . -iname *.java | grep -v /gen/)
|
|
57
|
|
58 docs:
|
|
59 doxygen
|