Skip to content

Commit

Permalink
using the newest Irony nuget package instead of using Irony.dll directly
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnemeti committed Feb 5, 2023
1 parent ccb6927 commit 29de40c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 38 deletions.
Binary file removed Libraries/Irony.dll
Binary file not shown.
5 changes: 0 additions & 5 deletions Libraries/readme.txt

This file was deleted.

6 changes: 0 additions & 6 deletions MiniPL/MiniPL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
</ProjectReference>
</ItemGroup>

<ItemGroup>
<Reference Include="Irony">
<HintPath>..\Libraries\Irony.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<None Update="MiniPL\CodeGenerators\CppGeneratorTemplate.tt">
<Generator>TextTemplatingFilePreprocessor</Generator>
Expand Down
6 changes: 0 additions & 6 deletions Playground/Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<Reference Include="Irony">
<HintPath>..\Libraries\Irony.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<None Update="MiniPL_long.mplp">
<AutoGen>True</AutoGen>
Expand Down
7 changes: 1 addition & 6 deletions Sarcasm.UnitTest/Sarcasm.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@
<Name>Sarcasm</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="Irony">
<HintPath>..\Libraries\Irony.dll</HintPath>
</Reference>
</ItemGroup>


<ItemGroup>
<None Update="Expected results\ASTs\Binary3.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
18 changes: 3 additions & 15 deletions Sarcasm/Sarcasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RootNamespace>Sarcasm</RootNamespace>
<AssemblyName>Sarcasm</AssemblyName>
<Description>SDK for creating typesafe and typeless domain bound grammar and using the general unparser</Description>
<Version>4.0.0</Version>
<Version>4.1.0</Version>
<Authors>Dávid Németi</Authors>
<PackageTags>Parser;Unparser;Grammar;AST;DomainBinding;Typesafety;CompileTimeSafety</PackageTags>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
Expand All @@ -18,7 +18,6 @@
<NoWarn>CS1591,CS0618</NoWarn>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Signature\Sarcasm.snk</AssemblyOriginatorKeyFile>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetMyPackageFiles</TargetsForTfmSpecificBuildOutput>
<!--<TransformOnBuild>true</TransformOnBuild>
<TransformOutOfDateOnly>true</TransformOutOfDateOnly>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>-->
Expand All @@ -31,35 +30,24 @@
<ItemGroup>
<!--
using Krafs.Publicizer instead of IgnoresAccessChecksToGenerator, because:
- IgnoresAccessChecksToGenerator raised error when processing netstandard2.0 Irony.dll
- IgnoresAccessChecksToGenerator raised error when processing the netstandard2.0 version of Irony.dll
- IgnoresAccessChecksToGenerator cannot publicize private members
-->
<PackageReference Include="Krafs.Publicizer" Version="2.2.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Irony" Version="1.2.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup>
<Reference Include="Irony">
<HintPath>..\Libraries\Irony.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<Target Name="GetMyPackageFiles">
<ItemGroup>
<BuildOutputInPackage Include="..\Libraries\Irony.dll" />
</ItemGroup>
</Target>

<ItemGroup>
<Compile Update="GrammarAst\BnfiExpressions\BnfiExpression.generated.cs">
<AutoGen>True</AutoGen>
Expand Down

0 comments on commit 29de40c

Please sign in to comment.