Documentation Index
Fetch the complete documentation index at: https://docs.springtail.io/llms.txt
Use this file to discover all available pages before exploring further.
Compiling the code
Compiling the C++ code is fairly straightforward. All dependencies will be installed via vcpkg; note the first build may take a long time due to downloading and compiling all dependencies. Make sure all dependencies from the Local Dev Environment setup have been installed; otherwise vcpkg deps will not compile. To do a debug build run:Adding a C++ module
- Create new subdirs under src/ and include/
-
Add module to top level CMakeLists.txt:
add_subdirectory(src/module) -
Within module (
/src/module/) create a test subdir and a CMakeLists.txt - Add source code and library dependencies to CMakeLists.txt
-
Add test source code (or helper utils) under
test/subdir- Add to function
springtail_unit_test()toCMakeLists.txt - E.g.
- Add to function
Accessing the postgres database on your machine
Run the following command:psql "dbname=springtail user=springtail host=/var/run/postgresql password=springtail”