commit | 810a895d6608ff12418fc77cd0b1d50a23ae1848 | [log] [tgz] |
---|---|---|
author | Carbo Kuo <carbokuo@fb.com> | Wed Sep 18 01:52:20 2013 -0700 |
committer | Michael Bolin <mbolin@fb.com> | Thu Sep 19 15:25:03 2013 -0700 |
tree | 190c1d8ff07945d03d4e83dff3c9360d5f357056 | |
parent | 3898451f120739ec282f2d7b334a4bf8cb4dae5c [diff] |
Use Java 7 Files.createDirectories instead of File.mkdirs. Summary: File.mkdirs fails unpredictably and fails if the folder already exists, which performs differently from command `mkdir -p`. java.nio.file.Files.createDirectories handles situation and throws a descriptive IOException if it truly fails. Test Plan: Unit tests
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