summary refs log tree commit diff
path: root/bin/build-twttr-world
blob: a2fe9b34877e318700aff9d0947996ce16d0d350 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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/tools/:bookkeeper'
  'science/src/python/twitter/messaging/tools/:customers-requests'
  'science/src/python/twitter/messaging/tools/:eventbus-partition-ownership'
  'science/src/python/twitter/messaging/tools/:host-status'
  'science/src/python/twitter/messaging/tools/:msg-config'
  'science/src/python/twitter/messaging/tools/:proxy-admin'
)

cd "${SOURCE_ROOT}"

for target in "${TARGETS[@]}"; do
  echo -n "Build $target"
  ./pants -q binary "${target}"
done

echo "Done."