Supply temporary directory to java_test()

Similar to genrule() give the test running JVM a temporary directory
below buck-out that is uniquely named for this test target. Send
the path in by both the TMP environment variable and java.io.tmpdir
system property.

Fixes https://github.com/facebook/buck/issues/13
4 files changed
tree: 6eab6b1240f51a250bab2aa63d2a18cdd22d5a0e
  1. .idea/
  2. bin/
  3. docs/
  4. lib/
  5. pmd/
  6. src/
  7. test/
  8. testdata/
  9. third-party/
  10. .buckconfig
  11. .classpath
  12. .gitignore
  13. .project
  14. buck.iml
  15. build.xml
  16. LICENSE
  17. 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