Skip to content

Commit

Permalink
Linux generate flatbuffers pre-step
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Jun 21, 2024
1 parent 8de4483 commit 00f95a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RLBotCS/RLBotCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<Target Name="GenerateFlatBuffersLinux" BeforeTargets="PreBuildEvent"
Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'">
<!-- TODO -->
<Exec Command="../generate-flatbuffers.sh" />
</Target>

</Project>
2 changes: 2 additions & 0 deletions generate-flatbuffers.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cd "$(dirname "$0")"

echo Generating flatbuffers header file...

./RLBotCS/flatbuffers-schema/flatc --gen-all --csharp --gen-object-api --gen-onefile -o ./RLBotCS/FlatBuffer ./RLBotCS/flatbuffers-schema/rlbot.fbs
Expand Down

0 comments on commit 00f95a3

Please sign in to comment.