Skip to content

Commit

Permalink
Update compiler tool and runtime library (#24)
Browse files Browse the repository at this point in the history
- Bump runtime to latest
- Bump compiler to latest
- Switch to central package version management
  • Loading branch information
degory committed Feb 14, 2024
1 parent a8c1d31 commit 92a3c62
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion templates/ghul-classlib/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"ghul.compiler": {
"version": "0.6.5",
"version": "0.7.5",
"commands": [
"ghul-compiler"
]
Expand Down
4 changes: 1 addition & 3 deletions templates/ghul-classlib/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ghul.targets" Version="1.2.1" />
<PackageReference Include="ghul.pipes" Version="1.0.0" />
<PackageReference Include="ghul.runtime" Version="1.0.0" />
<PackageReference Include="ghul.runtime" />
</ItemGroup>
</Project>
6 changes: 6 additions & 0 deletions templates/ghul-classlib/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<ItemGroup>
<!-- ghūl runtime -->
<PackageVersion Include="ghul.runtime" Version="1.3.1" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions templates/ghul-classlib/ghul-classlib.ghulproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>

<PackageId>example.classlib</PackageId>

Expand Down
2 changes: 1 addition & 1 deletion templates/ghul-console/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"ghul.compiler": {
"version": "0.6.5",
"version": "0.7.5",
"commands": [
"ghul-compiler"
]
Expand Down
4 changes: 1 addition & 3 deletions templates/ghul-console/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ghul.targets" Version="1.2.1" />
<PackageReference Include="ghul.pipes" Version="1.0.0" />
<PackageReference Include="ghul.runtime" Version="1.0.0" />
<PackageReference Include="ghul.runtime" />
</ItemGroup>
</Project>
6 changes: 6 additions & 0 deletions templates/ghul-console/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<ItemGroup>
<!-- ghūl runtime -->
<PackageVersion Include="ghul.runtime" Version="1.3.1" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions templates/ghul-console/ghul-console.ghulproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>

<GhulCompiler>dotnet ghul-compiler</GhulCompiler>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/ghul-classlib/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"ghul.compiler": {
"version": "0.6.5",
"version": "0.7.5",
"commands": [
"ghul-compiler"
]
Expand Down
4 changes: 1 addition & 3 deletions tests/ghul-classlib/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<Project>
<ItemGroup>
<PackageReference Include="ghul.targets" Version="1.2.1" />
<PackageReference Include="ghul.pipes" Version="1.0.0" />
<PackageReference Include="ghul.runtime" Version="1.0.0" />
<PackageReference Include="ghul.runtime" Version="1.3.1" />
</ItemGroup>
</Project>

0 comments on commit 92a3c62

Please sign in to comment.