commit | 82caef4a7e6004910d491500aa8a7ef266e25f3d | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Tue Nov 19 11:23:12 2013 -0800 |
committer | Michael Bolin <mbolin@fb.com> | Tue Nov 19 18:44:59 2013 -0800 |
tree | 9e573a590a1c70fe6fae6ecf19d4a33bbb0a9b23 | |
parent | fadb1e984d6d533a46a2d27201dc607a1a15d4ee [diff] |
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.
Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.
To build Buck, run the following:
git clone git@github.com:facebook/buck.git cd buck ant ./bin/buck --help
Apache License 2.0