Fix CI parser generation compile inputs
This commit is contained in:
parent
3a61cd4eb1
commit
64781cbb7b
1 changed files with 3 additions and 1 deletions
|
|
@ -15,9 +15,11 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="README.md" Pack="true" PackagePath="\" />
|
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||||
|
<Compile Remove="cocor/Parser.cs;cocor/Scanner.cs" />
|
||||||
|
<Compile Include="cocor/Parser.cs;cocor/Scanner.cs" />
|
||||||
</ItemGroup>
|
</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" />
|
<Exec Command="dotnet tool run coco -namespace CSMic.Interpreter -frames $(ProjectDir)cocor $(ProjectDir)cocor/Interpreter.atg" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue