generate-all.sh 369 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. # Copyright 2015 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. set -e
  6. for dir in */ ; do
  7. cd "$dir"
  8. if [ -f generate-chains.py ]; then
  9. python generate-chains.py
  10. # Cleanup temporary files.
  11. rm -rf */*.pyc
  12. rm -rf out/
  13. fi
  14. cd ..
  15. done