make rebuilds on termux faster
This commit is contained in:
parent
4169e02552
commit
6a8d7e2c5c
|
@ -1,10 +1,22 @@
|
|||
termux: termux-pkgs termux-dots utils-sh st pip-pkgs git-annex.linux
|
||||
termux: termux-pkgs termux-dots utils-sh rebuild-sh st pip-pkgs git-annex.linux
|
||||
|
||||
list: options # alias
|
||||
options:
|
||||
@echo specific options
|
||||
@echo st - rebuild st
|
||||
@echo utils-sh - copy utilities
|
||||
@echo pip-pkgs - install pip packages
|
||||
@echo termux-pkgs - install termux pkgs
|
||||
@echo termux-dots - install termux dotfiles
|
||||
@echo git-annex.linux - install git-annex
|
||||
|
||||
st:
|
||||
cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
|
||||
|
||||
utils-sh:
|
||||
cp ../../../builds/utils/* ~/.local/bin
|
||||
rebuild-sh:
|
||||
cp ../../../builds/rebuild/* ~/.local/bin
|
||||
|
||||
pip-pkgs:
|
||||
pip3 install vdirsyncer
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd ~/dot_testing
|
||||
if [ "$(hostname)" = "localhost" ]; then
|
||||
# we're on a phone
|
||||
cd boxes/phone/out-of-tree
|
||||
make $@
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -f "boxes/$(hostname)/custom_command" ]; then
|
||||
eval "$(cat boxes/$(hostname)/custom_command)"
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue