Running things locally¶
Here's a concise list of useful development commands from the Makefile:
Build & Run¶
make local_build- Clean and build locally in debug modemake build_release- Build release versionmake build_dbg- Build debug versionmake build_asan- Build with ASAN for memory debuggingmake local_run- Run with dev configmake console_run- Run in console mode with verbose logging
Testing¶
make functional-test- Run functional testsmake stress-tests- Run stress testsmake jemalloc-test- Run tests with jemallocmake ci-unittests- Run unit tests in CI environment
Debugging¶
make gdb- Build debug version and run in GDB
Formatting¶
make format- Format code using clang-formatmake check-format- Check code formatting
Packaging¶
make cpack-deb- Build DEB packagemake cpack-rpm- Build RPM packagemake install- Install to system
Documentation¶
make build-docs-web- Build documentationmake serve-docs- Serve docs locally
Development Environment¶
make dev_run- Format, build and run (all-in-one)make start-dev-env-dbg- Start debug docker environmentmake start-dev-env-asan- Start ASAN docker environment