[manifest]
name = watchman
fbsource_path = fbcode/watchman
shipit_project = watchman
shipit_fbcode_builder = true

[git]
repo_url = https://github.com/facebook/watchman.git

[build]
builder = cmake

[dependencies]
boost
fb303
fbthrift
folly
pcre

[shipit.pathmap]
fbcode/watchman = .
fbcode/eden/fs = eden/fs

[shipit.strip]
^fbcode/eden/fs/(?!.*\.thrift|service/shipit_test_file\.txt)

[cmake.defines.fb=on]
ENABLE_EDEN_SUPPORT=ON

# FB macos specific settings
[cmake.defines.all(fb=on,os=darwin)]
# this path is coupled with the FB internal watchman-osx.spec
WATCHMAN_STATE_DIR=/opt/facebook/watchman/var/run/watchman
# tell cmake not to try to create /opt/facebook/...
INSTALL_WATCHMAN_STATE_DIR=OFF
