Skip to content
A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
Java JavaScript Python C Objective-C CSS Other
Latest commit d095751 @andrewjcg andrewjcg committed with Facebook Github Bot 4 SymlinkTree: defer verifying paths until build time
Summary:Previously, we'd verify the path components of a `SymlinkTree` in it's
constructor, which meant we do some up-front work and required having
callers catch and deal with an exception (and in many cases, the caller
just used a try-catch to propagate it as a `RuntimeException`).

This diff moves this verification to be done during the actual build
steps.  This does also mean that other parts of the codebase that may
have been relying on the `SymlinkTree` constructor to validate these
paths may have to do their own explicit validating, which they likely
should have done from the beginning.

Test Plan: refactored test

Reviewed By: yiding

fb-gh-sync-id: edd289b
shipit-source-id: edd289b
Failed to load latest commit information.
.idea Employing the new external events interface
assets/android Package dummy libraries with native exopackage android_binaries
bin More pex fixes for windows.
config Move watchman startup logic to java
docs Add resources to `go_test`
pmd Kill subprocesses when nailgun connection dies
programs Improve waiting-for-daemon message
py Do not shell out to `zip` and `unzip`
scripts Use frozenset instead of sets in verify-javadoc.py script.
src-gen Print dist build status on SuperConsole
src/com/facebook/buck SymlinkTree: defer verifying paths until build time
test/com/facebook/buck SymlinkTree: defer verifying paths until build time
third-party Migrate test/ to use autodeps.
webserver [tracing] Fix built-in trace viewer in Chrome 43
.buckconfig Fix windows build
.classpath Fix Eclipse project config so it builds in Eclipse.
.factorypath Upgrade to Immutables 2.0.21
.gitattributes `*.bat` files should always have Windows-style newlines
.gitignore Upgrade to latest upstream pywatchman and add to PEX
.inferconfig blacklist auto-generated files
.project Initial import.
.travis.yml Run groovy related tests in travis
.watchmanconfig Enable the dir cache by default
DEFS Migrate test/ to use autodeps.
LICENSE Try to make it easier to determine the license for Buck (Apache 2.0).
README.md Enable Travis CI builds again
__init__.py Do not shell out to `zip` and `unzip`
appveyor.yml Add appveyor & windows test blacklist.
buck.iml fixed IDE project
build.xml Run instrumentation tests as a shell step
checkstyle.xml Replacing usernames in TODOs.
findbugsfilter.xml Fix findbugs perf issues
windows_failures.txt Fix windows build

README.md

Buck

Buck is a build tool. To see what Buck can do for you, check out the documentation at http://buckbuild.com/.

Build Status

Installation

To build Buck, run the following:

git clone https://github.com/facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0

Something went wrong with that request. Please try again.