FileBarge development

This page is the entry point for FileBarge contributors.

Development documents

Building

FileBarge requires a POSIX shell, make, and Clang. make builds the debug-friendly default binary at .build/filebarge. make test also builds the unit-test executables in .test/bin and a sender that forces chunked transfer in .test/stage4/bin/filebarge.

The project uses Clang with warnings enabled as errors. Keep existing indentation, use tabs in new C source files, and keep lines within 79 columns after tabs count as four spaces.

Source layout

Protocol changes need matching packet and session tests. Behavioural changes need a focused staged shell test in addition to unit coverage where it applies.