sapling/eden/integration/hg/CMakeLists.txt
Xavier Deguillard 963cdcbbc2 service: implement streamChangesSince
Summary:
This implementation is the simplest possible which simply mimic what is being
done in Watchman. Changes are sent over the wire as they are detected and
thanks to Watchman ending the stream whenever it received enough, the diff code
will stop whenever the stream ends.

Reviewed By: chadaustin

Differential Revision: D35817807

fbshipit-source-id: 206a4b53383d9e5642539c4b2a70c3905405a9a6
2022-05-06 21:15:55 -07:00

22 lines
533 B
CMake

# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
file(GLOB HG_INTEGRATION_SRCS "*.py")
list(REMOVE_ITEM HG_INTEGRATION_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/eden_journal_test.py
)
add_fb_python_unittest(
hg_integration_tests
SOURCES ${HG_INTEGRATION_SRCS}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
DEPENDS
eden_hg_integration_lib
ENV
"CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR}"
)
add_subdirectory(lib)