commit | 17ca46606d60e8ac9d4303f493b438e9ecb14b42 | [log] [tgz] |
---|---|---|
author | Michael Bolin <mbolin@fb.com> | Fri Sep 13 11:20:10 2013 -0700 |
committer | Michael Bolin <mbolin@fb.com> | Thu Sep 19 15:25:02 2013 -0700 |
tree | b2c27e352e1c80630241d7802ce7be2461bae342 | |
parent | 9e655c83ee34431b524f7ec7a9c5fbae8499f374 [diff] |
Fix python_library so it caches correctly. Summary: Previously, if you had a python_binary rule that depended on a python_library rule, and both rules were cached in cassandra, there would be an issue executing the python_binary rule (presumably as part of a genrule) because the files from the python_library rule would not be in buck-out/bin/ where the python_binary rule expected them to be. This changes things so that the python_library writes its files to buck-out/gen/, and those files are archived with the python_library rule such that when it is pulled down from cassandra, it is unpacked in the way that python_binary needs. Test Plan: Sandcastle builds.
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