diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2017-02-16 13:38:39 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2017-02-16 13:38:39 -0800 |
commit | edfd0f5bcc591dc20023a6f48c35f887fcb3555f (patch) | |
tree | baf4a573de7307233040ca38646d48edab305263 /bin/tw-build | |
parent | [notes] up (diff) | |
download | emacs.d-edfd0f5bcc591dc20023a6f48c35f887fcb3555f.tar.gz |
[bin] prefix twitter's scripts with 'tw'.
Diffstat (limited to 'bin/tw-build')
-rwxr-xr-x | bin/tw-build | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/tw-build b/bin/tw-build new file mode 100755 index 0000000..da54fe5 --- /dev/null +++ b/bin/tw-build @@ -0,0 +1,33 @@ +#!/bin/bash + +SOURCE_ROOT="${HOME}/src/source" + +if [ ! -d "${SOURCE_ROOT}" ]; then + echo "It looks like ${SOURCE_ROOT} is not available." + exit 1 +fi + +TARGETS=( + 'src/python/twitter/checkstyle:check' + 'src/python/twitter/messaging/julep/:julep' + 'src/python/twitter/messaging/oncall/:oncall' + 'src/python/twitter/messaging/tools/:bookkeeper' + 'src/python/twitter/messaging/tools/:bookkeeper-rereplicator' + 'src/python/twitter/messaging/tools/:customers-requests' + 'src/python/twitter/messaging/tools/:host-status' + 'src/python/twitter/messaging/tools/:msg-config' + 'src/python/twitter/messaging/tools/:partition-ownership' + 'src/python/twitter/messaging/tools/:proxy-admin' + 'src/python/twitter/messaging/xdc_replicator_check/:streams-to-replicate' + 'src/python/twitter/ops/mesos/bin/:mesosops' +) + +cd "${SOURCE_ROOT}" + +for target in "${TARGETS[@]}"; do + echo -n "Build $target" + ./pants -q binary "${target}" +done + +echo "Done." + |