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