]> git.wh0rd.org - home.git/blob - .chromite/chrome_sdk.bashrc
add cros chrome-sdk logic
[home.git] / .chromite / chrome_sdk.bashrc
1 . ~/.profile.d/PS1.sh
2
3 IP=172.29.72.34
4
5 n() {
6 [[ $# -eq 0 ]] && set -- chrome
7 ninja -C out_${SDK_BOARD}/Release -j500 "$@"
8 }
9
10 d() {
11 deploy_chrome --build-dir=out_${SDK_BOARD}/Release --to=${IP} "$@"
12 }
13
14 cat <<EOF
15
16 Commands:
17 gclient: use runhooks for a new board
18 n: run ninja to compile chrome
19 d: deploy the compiled code to ${IP}
20
21 EOF