Implemented a Websocket server that reports events.

Summary:
In order to get the progresses of build from external process,
an interface is needed to collect all internal events and export
them interactively. We implemented a Websocket server based on jetty,
which provides a universal API. We can retrieve the progresses from both Java and browsers.

Test Plan:
Run `buckd` and create a Websocket client from browser and connects to
http://localhost:7013/comet/echo. Then run `buck test --all` to see the events.
27 files changed
tree: 49a81c36cef811c9a26dde0c75df1e7173280aed
  1. .idea/
  2. bin/
  3. config/
  4. docs/
  5. lib/
  6. pmd/
  7. scripts/
  8. src/
  9. test/
  10. testdata/
  11. third-party/
  12. .buckconfig
  13. .classpath
  14. .gitignore
  15. .project
  16. buck.iml
  17. build.xml
  18. DEFS
  19. LICENSE
  20. 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/.

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