Last active
March 10, 2018 05:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
test () { | |
bazel test :all | |
} | |
build () { | |
bazel build :all | |
} | |
query() { | |
bazel query :all | grep deploy.apply | sed -e 's/_deploy.apply//g' | |
} | |
deploy() { | |
bazel run --experimental_platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 $(bazel query \ | |
--noshow_progress \ | |
"filter('_deploy.apply$', ':all')") | |
} | |
run() { | |
bazel run $(bazel query \ | |
--noshow_progress \ | |
"filter('_image.binary$', ':all')") | |
} | |
describe() { | |
bazel run $(bazel query \ | |
--noshow_progress \ | |
"filter('_deploy.describe$', ':all')") | |
} | |
$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment