Skip to content

Commit 5593107

Browse files
Remove unnecessary code
1 parent 209d8ea commit 5593107

File tree

2 files changed

+83
-103
lines changed

2 files changed

+83
-103
lines changed

CritLang/CritLang.csproj

Lines changed: 43 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<Version>0.2.1</Version>
7-
<Authors>Lucas de Linhares</Authors>
8-
<Description>Just another programming language</Description>
9-
<FileDescription>Just another programming lanugage</FileDescription>
10-
11-
<ImplicitUsings>enable</ImplicitUsings>
12-
<Nullable>enable</Nullable>
13-
<WarningsAsErrors>Nullable</WarningsAsErrors>
14-
<Optimize>true</Optimize>
15-
<PackAsTool>true</PackAsTool>
16-
<ToolCommandName>crit</ToolCommandName>
17-
<PackageOutputPath>./nupkg</PackageOutputPath>
18-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
20-
<Platforms>AnyCPU;x64</Platforms>
21-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net7.0</TargetFramework>
6+
<Version>0.2.1</Version>
7+
<Authors>Lucas de Linhares</Authors>
8+
<Description>Just another programming language</Description>
9+
<FileDescription>Just another programming lanugage</FileDescription>
2210

23-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
24-
<DebugType>embedded</DebugType>
25-
</PropertyGroup>
11+
<ImplicitUsings>enable</ImplicitUsings>
12+
<Nullable>enable</Nullable>
13+
<WarningsAsErrors>Nullable</WarningsAsErrors>
14+
<Optimize>true</Optimize>
15+
<PackAsTool>true</PackAsTool>
16+
<ToolCommandName>crit</ToolCommandName>
17+
<PackageOutputPath>./nupkg</PackageOutputPath>
18+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
20+
</PropertyGroup>
2621

27-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
28-
<DebugType>none</DebugType>
29-
</PropertyGroup>
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
23+
<DebugType>embedded</DebugType>
24+
</PropertyGroup>
25+
26+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
27+
<DebugType>none</DebugType>
28+
</PropertyGroup>
3029

3130
<PropertyGroup>
3231
<StripSymbols>true</StripSymbols>
@@ -37,34 +36,29 @@
3736
<Content Include=".\antlr\*.cs" />
3837
</ItemGroup>
3938
<ItemGroup>
40-
<Compile Include="Content\.antlr\CritBaseListener.cs" />
41-
<Compile Include="Content\.antlr\CritBaseVisitor.cs" />
42-
<Compile Include="Content\.antlr\CritLexer.cs" />
43-
<Compile Include="Content\.antlr\CritListener.cs" />
44-
<Compile Include="Content\.antlr\CritParser.cs" />
45-
<Compile Include="Content\.antlr\CritVisitor.cs" />
39+
<Compile Include="Content\.antlr\*.cs"/>
4640
</ItemGroup>
4741
<ItemGroup>
48-
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.11.1" />
49-
<PackageReference Include="Antlr4BuildTasks" Version="12.1.0" PrivateAssets="all" />
42+
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.11.1" />
43+
<PackageReference Include="Antlr4BuildTasks" Version="12.1.0" PrivateAssets="all" />
5044
</ItemGroup>
5145
<ItemGroup>
52-
<None Update=".\sieve.crit">
53-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
54-
</None>
46+
<None Update=".\sieve.crit">
47+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
48+
</None>
5549
</ItemGroup>
5650
<ItemGroup>
57-
<None Include="..\LICENSE">
58-
<Pack>True</Pack>
59-
<PackagePath>\</PackagePath>
60-
</None>
61-
<None Include="Content\.antlr\Crit.interp" />
62-
<None Include="Content\.antlr\Crit.tokens" />
63-
<None Include="Content\.antlr\CritLexer.interp" />
64-
<None Include="Content\.antlr\CritLexer.tokens" />
65-
</ItemGroup>
66-
67-
<PropertyGroup >
51+
<None Include="..\LICENSE">
52+
<Pack>True</Pack>
53+
<PackagePath>\</PackagePath>
54+
</None>
55+
<None Include="Content\.antlr\Crit.interp" />
56+
<None Include="Content\.antlr\Crit.tokens" />
57+
<None Include="Content\.antlr\CritLexer.interp" />
58+
<None Include="Content\.antlr\CritLexer.tokens" />
59+
</ItemGroup>
60+
61+
<PropertyGroup>
6862
<PublishAot>true</PublishAot>
69-
</PropertyGroup>
70-
</Project>
63+
</PropertyGroup>
64+
</Project>

CritLang/CritLangCross.csproj

Lines changed: 40 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<Version>0.2.1</Version>
7-
<Authors>Lucas de Linhares</Authors>
8-
<Description>Just another programming language</Description>
9-
<FileDescription>Just another programming lanugage</FileDescription>
10-
11-
<ImplicitUsings>enable</ImplicitUsings>
12-
<Nullable>enable</Nullable>
13-
<WarningsAsErrors>Nullable</WarningsAsErrors>
14-
<Optimize>true</Optimize>
15-
<PackAsTool>true</PackAsTool>
16-
<ToolCommandName>crit</ToolCommandName>
17-
<PackageOutputPath>./nupkg</PackageOutputPath>
18-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19-
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
20-
<Platforms>AnyCPU;x64</Platforms>
21-
</PropertyGroup>
22-
23-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
24-
<DebugType>embedded</DebugType>
25-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net7.0</TargetFramework>
6+
<Version>0.2.1</Version>
7+
<Authors>Lucas de Linhares</Authors>
8+
<Description>Just another programming language</Description>
9+
<FileDescription>Just another programming lanugage</FileDescription>
2610

27-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
28-
<DebugType>embedded</DebugType>
29-
</PropertyGroup>
11+
<ImplicitUsings>enable</ImplicitUsings>
12+
<Nullable>enable</Nullable>
13+
<WarningsAsErrors>Nullable</WarningsAsErrors>
14+
<Optimize>true</Optimize>
15+
<PackAsTool>true</PackAsTool>
16+
<ToolCommandName>crit</ToolCommandName>
17+
<PackageOutputPath>./nupkg</PackageOutputPath>
18+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
19+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
20+
</PropertyGroup>
3021

31-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
32-
<DebugType>none</DebugType>
33-
</PropertyGroup>
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
23+
<DebugType>embedded</DebugType>
24+
</PropertyGroup>
3425

35-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
36-
<DebugType>none</DebugType>
37-
</PropertyGroup>
26+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
27+
<DebugType>none</DebugType>
28+
</PropertyGroup>
3829

3930
<PropertyGroup>
4031
<StripSymbols>true</StripSymbols>
@@ -45,31 +36,26 @@
4536
<Content Include=".\antlr\*.cs" />
4637
</ItemGroup>
4738
<ItemGroup>
48-
<Compile Include="Content\.antlr\CritBaseListener.cs" />
49-
<Compile Include="Content\.antlr\CritBaseVisitor.cs" />
50-
<Compile Include="Content\.antlr\CritLexer.cs" />
51-
<Compile Include="Content\.antlr\CritListener.cs" />
52-
<Compile Include="Content\.antlr\CritParser.cs" />
53-
<Compile Include="Content\.antlr\CritVisitor.cs" />
39+
<Compile Include="Content\.antlr\*.cs" />
5440
</ItemGroup>
5541
<ItemGroup>
56-
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.11.1" />
57-
<PackageReference Include="Antlr4BuildTasks" Version="12.1.0" PrivateAssets="all" />
42+
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.11.1" />
43+
<PackageReference Include="Antlr4BuildTasks" Version="12.1.0" PrivateAssets="all" />
5844
</ItemGroup>
5945
<ItemGroup>
60-
<None Update=".\sieve.crit">
61-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
62-
</None>
46+
<None Update=".\sieve.crit">
47+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
48+
</None>
6349
</ItemGroup>
6450
<ItemGroup>
65-
<None Include="..\LICENSE">
66-
<Pack>True</Pack>
67-
<PackagePath>\</PackagePath>
68-
</None>
69-
<None Include="Content\.antlr\Crit.interp" />
70-
<None Include="Content\.antlr\Crit.tokens" />
71-
<None Include="Content\.antlr\CritLexer.interp" />
72-
<None Include="Content\.antlr\CritLexer.tokens" />
73-
</ItemGroup>
74-
75-
</Project>
51+
<None Include="..\LICENSE">
52+
<Pack>True</Pack>
53+
<PackagePath>\</PackagePath>
54+
</None>
55+
<None Include="Content\.antlr\Crit.interp" />
56+
<None Include="Content\.antlr\Crit.tokens" />
57+
<None Include="Content\.antlr\CritLexer.interp" />
58+
<None Include="Content\.antlr\CritLexer.tokens" />
59+
</ItemGroup>
60+
61+
</Project>

0 commit comments

Comments
 (0)