diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-twttr-tools | 33 | ||||
-rwxr-xr-x | bin/build-twttr-world | 33 |
2 files changed, 33 insertions, 33 deletions
diff --git a/bin/build-twttr-tools b/bin/build-twttr-tools new file mode 100755 index 0000000..da54fe5 --- /dev/null +++ b/bin/build-twttr-tools @@ -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." + diff --git a/bin/build-twttr-world b/bin/build-twttr-world deleted file mode 100755 index 1e0a49d..0000000 --- a/bin/build-twttr-world +++ /dev/null @@ -1,33 +0,0 @@ -#!/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=( - 'science/src/python/twitter/checkstyle:check' - 'science/src/python/twitter/messaging/julep/:julep' - 'science/src/python/twitter/messaging/oncall/:oncall' - 'science/src/python/twitter/messaging/tools/:bookkeeper' - 'science/src/python/twitter/messaging/tools/:bookkeeper-rereplicator' - 'science/src/python/twitter/messaging/tools/:customers-requests' - 'science/src/python/twitter/messaging/tools/:host-status' - 'science/src/python/twitter/messaging/tools/:msg-config' - 'science/src/python/twitter/messaging/tools/:partition-ownership' - 'science/src/python/twitter/messaging/tools/:proxy-admin' - 'science/src/python/twitter/messaging/xdc_replicator_check/:streams-to-replicate' - 'science/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." - |