]> git.wh0rd.org Git - home.git/commitdiff
add cros chrome-sdk logic
authorMike Frysinger <vapier@gentoo.org>
Wed, 28 May 2014 19:16:23 +0000 (15:16 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 May 2014 19:16:23 +0000 (15:16 -0400)
.chromite/chrome_sdk.bashrc [new file with mode: 0644]

diff --git a/.chromite/chrome_sdk.bashrc b/.chromite/chrome_sdk.bashrc
new file mode 100644 (file)
index 0000000..1754155
--- /dev/null
@@ -0,0 +1,21 @@
+. ~/.profile.d/PS1.sh
+
+IP=172.29.72.34
+
+n() {
+       [[ $# -eq 0 ]] && set -- chrome
+       ninja -C out_${SDK_BOARD}/Release -j500 "$@"
+}
+
+d() {
+       deploy_chrome --build-dir=out_${SDK_BOARD}/Release --to=${IP} "$@"
+}
+
+cat <<EOF
+
+Commands:
+ gclient: use runhooks for a new board
+ n: run ninja to compile chrome
+ d: deploy the compiled code to ${IP}
+
+EOF