Fix CI parser generation compile inputs
All checks were successful
Build / build (push) Successful in 33s
Tests / tests (push) Successful in 30s

This commit is contained in:
codex 2026-06-24 16:19:24 -05:00
commit 64781cbb7b

View file

@ -15,9 +15,11 @@
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
<Compile Remove="cocor/Parser.cs;cocor/Scanner.cs" />
<Compile Include="cocor/Parser.cs;cocor/Scanner.cs" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Target Name="GenerateInterpreter" BeforeTargets="CoreCompile">
<Exec Command="dotnet tool run coco -namespace CSMic.Interpreter -frames $(ProjectDir)cocor $(ProjectDir)cocor/Interpreter.atg" />
</Target>