pumpkin-api-cs/generate.sh
Alexander Medvedev 1ff1774b1c first commit
2026-04-29 12:57:22 +02:00

11 lines
277 B
Bash
Executable File

#!/bin/bash
# Ensure the submodule is initialized
git submodule update --init
# Generate the C# bindings
mkdir -p src/gen
wit-bindgen csharp --runtime native-aot --out-dir src/gen -w plugin wit/repo/pumpkin-plugin-wit/v0.1
echo "Bindings generated successfully in src/gen/"