-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
45 lines (38 loc) · 1.37 KB
/
Makefile
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
36
37
38
39
40
41
42
43
44
45
# https://ubports.com/de/blog/ubports-blogs-nachrichten-1/post/introduction-to-clickable-147
# https://docs.ubports.com/en/latest/appdev/platform/apparmor.html
# In desktop mode /home/phablet is mounted to ~/.clickable/home/. You can manipulate and add data there.
# If the logs target doesn't show the logs, check the following file on the device: ~/.cache/upstart/application-click-utlnwallet.ulrichard_utlnwallet_0.0.2.log
gui:
export all_proxy=""
export ALL_PROXY=""
export PATH=$PATH:~/.local/bin
clickable update || clickable desktop
test:
export all_proxy=""
export ALL_PROXY=""
export PATH=$PATH:~/.local/bin
clickable test
phone:
export all_proxy=""
export ALL_PROXY=""
export PATH=$PATH:~/.local/bin
clickable build --arch arm64
sudo adb start-server
sudo adb devices
clickable install --arch arm64
adb kill-server
publish:
clickable build --arch arm64
clickable publish --apikey $(shell gpg -d api-key.gpg) --arch arm64
clickable build --arch amd64
clickable publish --apikey $(shell gpg -d api-key.gpg) --arch amd64
clickable build --arch armhf
clickable publish --apikey $(shell gpg -d api-key.gpg) --arch armhf
logs:
clickable logs --arch arm64
init:
export PATH=$PATH:~/.local/bin
clickable create
setup:
sudo apt install docker.io adb git python3 python3-pip mesa-utils libgl1-mesa-glx
pip3 install --user --break-system-packages --upgrade clickable-ut