```if [ ! -d .cache/pants ]; then echo "Getting ...
# general
w
Copy code
if [ ! -d .cache/pants ]; then
  echo "Getting latest Pants..."
  pushd .cache
  git clone <https://github.com/pantsbuild/pants>
  echo "Bootstrapping Pants and Ivy..."
  pushd pants
  ./pants resolve examples/src/scala/:: examples/src/java/:: BUILD:
  popd
  popd
fi