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: 87f1fcb860bc0c7ba58f4b523141f3dfa4d8e118
  1. .buckconfig
  2. .classpath
  3. .gitignore
  4. .idea/
  5. .project
  6. DEFS
  7. LICENSE
  8. README.md
  9. bin/
  10. buck.iml
  11. build.xml
  12. config/
  13. docs/
  14. lib/
  15. pmd/
  16. scripts/
  17. src/
  18. test/
  19. testdata/
  20. third-party/
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