mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
26403df852
Summary: This changes the way that Eden is built and deployed. * To build the binary that must be run as `root` (but quickly drops privileges), run `buck build eden-daemon`. * To build the CLI that communicates with the daemon (and does not require privileges), run `buck build eden-cli`. * To build both, run `buck build eden`. There is an example of how to build the various parts of Eden using Buck and how to package them up in the `install` script introduced by this revision. While here, I also cleaned up some of our build files and changed them to be parameterized between internal and external use. In both cases, the user gets the "unadorned" version of their primary build targets. This ensures that shortcuts such as: ``` buck test eden/fs/integration ``` do the right thing by default. Finally, I also made `find_default_config_dir()` and `find_default_daemon_binary()` lazy whereas `find_default_config_dir()` was previously eager. Reviewed By: simpkins Differential Revision: D3436245 fbshipit-source-id: 4dfbd59ed0d198620324f0705c462334bb5a7daf |
||
---|---|---|
.. | ||
oss | ||
__init__.py | ||
client.py | ||
DEFS | ||
eden.thrift | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
main.cpp | ||
TARGETS |