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