Skip to content

Commit

Permalink
Bump Target Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillspeak committed Jun 10, 2023
1 parent f31b779 commit 2ea7e3d
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/src/Feersum/bin/Debug/net6.0/Feersum.dll",
"program": "${workspaceRoot}/src/Feersum/bin/Debug/net7.0/Feersum.dll",
"args": [],
"cwd": "${workspaceRoot}",
"console": "integratedTerminal",
Expand All @@ -20,7 +20,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "buildStage1",
"program": "${workspaceRoot}/src/Feersum.Stage1/bin/Debug/net6.0/Feersum.Stage1.dll",
"program": "${workspaceRoot}/src/Feersum.Stage1/bin/Debug/net7.0/Feersum.Stage1.dll",
"args": [
"--output", "bin/Test/",
"lists.scm",
Expand Down Expand Up @@ -54,7 +54,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/src/Feersum/bin/Debug/net6.0/Feersum.dll",
"program": "${workspaceRoot}/src/Feersum/bin/Debug/net7.0/Feersum.dll",
"args": [
"--output",
"${workspaceRoot}/spec/bin",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"type": "shell",
"dependsOn": "build",
"args": [
"${workspaceFolder}/src/Feersum/bin/Debug/net6.0/Feersum.dll",
"${workspaceFolder}/src/Feersum/bin/Debug/net7.0/Feersum.dll",
"--configuration",
"Debug",
"-o",
Expand Down
4 changes: 2 additions & 2 deletions eng/UseLocalCompiler.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<NoImplicitFeersumCoreReference>true</NoImplicitFeersumCoreReference>
<CompilerConfiguration>$(Configuration)</CompilerConfiguration>
<CompilerConfiguration Condition=" '$(CompilerConfiguration)' == '' ">Debug</CompilerConfiguration>
<FeersumCompilerPath>$(MSBuildThisFileDirectory)..\src\Feersum\bin\$(CompilerConfiguration)\net6.0\Feersum.dll</FeersumCompilerPath>
<FeersumCompilerPath>$(MSBuildThisFileDirectory)..\src\Feersum\bin\$(CompilerConfiguration)\net7.0\Feersum.dll</FeersumCompilerPath>
</PropertyGroup>

<!-- Refernece our core library so it is available to import, and `dotnet` copies it to the output directory. -->
Expand All @@ -20,7 +20,7 @@
<ProjectReference Include="$(MSBuildThisFileDirectory)..\src\Feersum\Feersum.fsproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<Private>false</Private>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetTargetFramework>TargetFramework=net7.0</SetTargetFramework>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
</ProjectReference>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions eng/UseStage1Compiler.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<NoImplicitFeersumCoreReference>true</NoImplicitFeersumCoreReference>
<CompilerConfiguration>$(Configuration)</CompilerConfiguration>
<CompilerConfiguration Condition=" '$(CompilerConfiguration)' == '' ">Debug</CompilerConfiguration>
<FeersumCompilerPath>$(MSBuildThisFileDirectory)..\src\Feersum.Stage1\bin\$(CompilerConfiguration)\net6.0\Feersum.Stage1.dll</FeersumCompilerPath>
<FeersumCompilerPath>$(MSBuildThisFileDirectory)..\src\Feersum.Stage1\bin\$(CompilerConfiguration)\net7.0\Feersum.Stage1.dll</FeersumCompilerPath>
</PropertyGroup>

<!-- Refernece our core library so it is available to import, and `dotnet` copies it to the output directory. -->
Expand All @@ -19,7 +19,7 @@
<ProjectReference Include="$(MSBuildThisFileDirectory)..\src\Feersum.Stage1\Feersum.Stage1.fsproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<Private>false</Private>
<SetTargetFramework>TargetFramework=net6.0</SetTargetFramework>
<SetTargetFramework>TargetFramework=net7.0</SetTargetFramework>
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
</ProjectReference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/HelloWorld/HelloWorld.scmproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<PackAsTool>True</PackAsTool>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net7.0</TargetFrameworks>
</PropertyGroup>

<!-- Default compile items. We don't to just glob default compile items because ordering matters. -->
Expand Down
2 changes: 1 addition & 1 deletion runspec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
set -euo pipefail

dotnet build --configuration Release src/Feersum && \
dotnet src/Feersum/bin/Release/net6.0/Feersum.dll ${specname} \
dotnet src/Feersum/bin/Release/net7.0/Feersum.dll ${specname} \
--outputtype exe -o ${specbin} && \
dotnet ${specbin}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Title>Feersum Scheme Compiler Services Library</Title>
<Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum.Sdk/Feersum.Sdk.proj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.Build.NoTargets/3.1.0">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<PackageType>MSBuildSdk</PackageType>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum.Sdk/targets/Feersum.Sdk.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<PropertyGroup>
<!-- The path to the compiler exectuable. -->
<FeersumCompilerPath Condition=" '$(FeersumCompilerPath)' == '' ">$(PkgFeersum)/tools/net6.0/any/Feersum.dll</FeersumCompilerPath>
<FeersumCompilerPath Condition=" '$(FeersumCompilerPath)' == '' ">$(PkgFeersum)/tools/net7.0/any/Feersum.dll</FeersumCompilerPath>
<DotNetPath>$(DOTNET_HOST_PATH)</DotNetPath>
<DotNetPath Condition=" '$(DotNetPath)' == '' ">dotnet</DotNetPath>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum.Stage1/Feersum.Stage1.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum.Templates/Feersum.Templates.proj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.Build.NoTargets/3.1.0">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"Framework": {
"type": "parameter",
"datatype": "choice",
"defaultValue": "net6.0",
"replaces": "net6.0",
"defaultValue": "net7.0",
"replaces": "net7.0",
"choices": [
{
"choice": "net6.0",
"choice": "net7.0",
"description": "Target .NET 6"
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Feersum.Sdk/0.2.1">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"Framework": {
"type": "parameter",
"datatype": "choice",
"defaultValue": "net6.0",
"replaces": "net6.0",
"defaultValue": "net7.0",
"replaces": "net7.0",
"choices": [
{
"choice": "net6.0",
"choice": "net7.0",
"description": "Target .NET 6"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Feersum/Feersum.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<PackAsTool>True</PackAsTool>
<ToolCommandName>feersum-scheme</ToolCommandName>
<Title>The Feersum Scheme Compiler</Title>
Expand Down
2 changes: 1 addition & 1 deletion test/Feersum.Tests/Feersum.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Feersum\Feersum.fsproj" />
Expand Down

0 comments on commit 2ea7e3d

Please sign in to comment.