Open randomPoison opened 4 years ago
It would also be nice to automatically format the generated code. This should be as simple as running the dotnet-format
command, though there may be some trickery around either detecting if it's installed or adding it as some kind of dev dependency to be installed automatically.
Currently when updating the integration test suite you have to manually run
cargo run -p builder
in order to update the generated bindings for the integration test. It would be nice if runningdotnet test
(ordotnet build
) automatically performed the code generation for you. This should be possible since .NET Core uses MSBuild, which has pretty robust support for custom build steps. In theory, getting this working should be as simple as adding a custom pre-build step that runscargo run -p builder
.