Configure backend support for distribution
mainIf your plugin includes a backend, you must follow a specific directory structure to ensure the decky-plugin-database CI can correctly package your binaries.
Directory Requirements
- Source Code: All backend source code must be located in
backend/srcrelative to the root of your git repository. - Output Binaries: During the build process, all finished binaries must be placed in the
backend/outdirectory.
Build Script Implementation
Your build script (Makefile, shell script, etc.) must explicitly ensure binaries are moved to backend/out. If they are not, the CI will fail to include them in the final distribution.
Example Makefile snippet:
hello:
mkdir -p ./out
gcc -o ./out/hello ./src/main.cNote: While local builds might use a top-level out folder, the distribution process expects the backend/out structure described above.
mkdir -p ./out
gcc -o ./out/hello ./src/main.c