Handle KeyboardInterrupt in buck.py.

Summary:
Terminating a buck build with CTRL-C sometimes results in a Python
Traceback being shown on the terminal.

Fix this by catching KeyboardInterrupt in the main() method. Don't
do anything with the caught exception; just pass.

Test Plan: Build something. Terminate it with CTRL-C. Don't see a TraceBack.
1 file changed
tree: 9e573a590a1c70fe6fae6ecf19d4a33bbb0a9b23
  1. .idea/
  2. bin/
  3. config/
  4. docs/
  5. lib/
  6. plugin/
  7. pmd/
  8. scripts/
  9. src/
  10. test/
  11. testdata/
  12. third-party/
  13. .buckconfig
  14. .classpath
  15. .gitignore
  16. .project
  17. .travis.yml
  18. buck.iml
  19. build.xml
  20. DEFS
  21. LICENSE
  22. README.md
README.md

Buck

Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.

Build Status

Installation

To build Buck, run the following:

git clone git@github.com:facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0