diff --git a/.github/workflows/Cogito.Quartz.yml b/.github/workflows/Cogito.Quartz.yml new file mode 100644 index 0000000..31b844b --- /dev/null +++ b/.github/workflows/Cogito.Quartz.yml @@ -0,0 +1,133 @@ +name: Cogito.Quartz + +on: + workflow_dispatch: + push: + branches: + - main + - develop + pull_request: + branches: + - main + - develop + release: + types: + - created + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup .NET 6.0 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 6.0.x + - name: Setup .NET 8.0 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Install GitVersion + uses: gittools/actions/gitversion/setup@v3 + with: + versionSpec: 5.x + - name: Execute GitVersion + uses: gittools/actions/gitversion/execute@v3 + with: + useConfigFile: true + - name: Add NuGet Source (GitHub) + shell: pwsh + run: dotnet nuget add source --username USERNAME --password $env:GITHUB_TOKEN --store-password-in-clear-text --name alethic $env:GITHUB_REPOS + env: + GITHUB_REPOS: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: NuGet Restore + run: dotnet restore Cogito.Quartz.sln + - name: Build + shell: pwsh + run: | + dotnet msbuild /m /bl ` + /p:Configuration="Release" ` + /p:Platform="Any CPU" ` + /p:Version=${env:GitVersion_FullSemVer} ` + /p:AssemblyVersion=${env:GitVersion_AssemblySemVer} ` + /p:InformationalVersion=${env:GitVersion_InformationalVersion} ` + /p:FileVersion=${env:GitVersion_AssemblySemFileVer} ` + /p:PackageVersion=${env:GitVersion_FullSemVer} ` + /p:RepositoryUrl="${env:GITHUB_SERVER_URL}/${env:GITHUB_REPOSITORY}.git" ` + /p:PackageProjectUrl="${env:GITHUB_SERVER_URL}/${env:GITHUB_REPOSITORY}" ` + /p:BuildInParallel=true ` + /p:ContinuousIntegrationBuild=true ` + Cogito.Quartz.dist.msbuildproj + - name: Upload MSBuild Log + if: ${{ always() }} + uses: actions/upload-artifact@v4 + with: + name: msbuild.binlog + path: msbuild.binlog + - name: Upload NuGet Packages + uses: actions/upload-artifact@v4 + with: + name: nuget + path: dist/nuget + - name: Package Tests + run: tar czvf tests.tar.gz tests + working-directory: dist + - name: Upload Tests + uses: actions/upload-artifact@v4 + with: + name: tests + path: dist/tests.tar.gz + release: + name: Release + if: github.event_name != 'pull_request' + needs: + - build + runs-on: ubuntu-22.04 + steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install GitVersion + uses: gittools/actions/gitversion/setup@v3 + with: + versionSpec: 5.x + - name: Execute GitVersion + id: GitVersion + uses: gittools/actions/gitversion/execute@v3 + with: + useConfigFile: true + - name: Download NuGet Packages + uses: actions/download-artifact@v4 + with: + name: nuget + path: dist/nuget + - name: Create Release + if: github.ref_type == 'tag' + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.GitVersion.outputs.semVer }} + allowUpdates: true + omitBodyDuringUpdate: true + artifacts: dist/nuget/*.nupkg,dist/nuget/*.snupkg,dist/doc.zip + makeLatest: true + token: ${{ secrets.GITHUB_TOKEN }} + - name: Push NuGet (GitHub) + if: github.event_name != 'pull_request' + shell: pwsh + run: dotnet nuget push dist/nuget/*.nupkg --source $env:GITHUB_REPOS --api-key $env:GITHUB_TOKEN --skip-duplicate + env: + GITHUB_REPOS: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Push NuGet + if: github.ref_type == 'tag' + shell: pwsh + run: dotnet nuget push dist/nuget/*.nupkg --source $env:NUGET_REPOS --api-key $env:NUGET_TOKEN --skip-duplicate + env: + NUGET_REPOS: https://api.nuget.org/v3/index.json + NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} diff --git a/.gitignore b/.gitignore index 3c4efe2..c2b1370 100644 --- a/.gitignore +++ b/.gitignore @@ -258,4 +258,6 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc \ No newline at end of file +*.pyc + +/dist \ No newline at end of file diff --git a/Cogito.Quartz.dist.msbuildproj b/Cogito.Quartz.dist.msbuildproj new file mode 100644 index 0000000..15492f7 --- /dev/null +++ b/Cogito.Quartz.dist.msbuildproj @@ -0,0 +1,32 @@ + + + $(DISTDIR) + $([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', 'dist')) + $([System.IO.Path]::GetFullPath('$(DistDir)')) + $([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', 'Cogito.Quartz.sln')) + Release + Any CPU + + + + + dist%5Cdist-nuget:Publish + PublishDir=$(DistDir)\nuget + + + dist%5Cdist-tests:Publish + PublishDir=$(DistDir)\tests + + + + + + <_TargetsForPublish Include="@(TargetsForPublish)"> + %(TargetsForPublish.Properties) + + + + + + + diff --git a/Cogito.Quartz.sln b/Cogito.Quartz.sln index 54c6550..b79ce8d 100644 --- a/Cogito.Quartz.sln +++ b/Cogito.Quartz.sln @@ -1,23 +1,37 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29721.120 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35527.113 d17.12 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7271F8CF-C4EC-47FE-91F3-FF3331482C4F}" ProjectSection(SolutionItems) = preProject - appveyor.yml = appveyor.yml + .gitattributes = .gitattributes + .gitignore = .gitignore + Cogito.Quartz.dist.msbuildproj = Cogito.Quartz.dist.msbuildproj + .github\workflows\Cogito.Quartz.yml = .github\workflows\Cogito.Quartz.yml Directory.Build.props = Directory.Build.props + GitVersion.yml = GitVersion.yml + global.json = global.json + icon.png = icon.png EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cogito.Quartz", "Cogito.Quartz\Cogito.Quartz.csproj", "{D19FDDD4-BEBF-4D6D-82A7-01AB87B5E582}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cogito.Quartz", "src\Cogito.Quartz\Cogito.Quartz.csproj", "{D19FDDD4-BEBF-4D6D-82A7-01AB87B5E582}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cogito.Quartz.Sample1", "Cogito.Quartz.Sample1\Cogito.Quartz.Sample1.csproj", "{A462141A-5ABA-438B-B00B-5A5CA8C0B1CD}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cogito.Quartz.Sample1", "src\Cogito.Quartz.Sample1\Cogito.Quartz.Sample1.csproj", "{A462141A-5ABA-438B-B00B-5A5CA8C0B1CD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Serilog", "Cogito.Quartz.Serilog\Cogito.Quartz.Serilog.csproj", "{0298DF51-81F8-4676-BBEF-2E88379170B5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Serilog", "src\Cogito.Quartz.Serilog\Cogito.Quartz.Serilog.csproj", "{0298DF51-81F8-4676-BBEF-2E88379170B5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Autofac", "Cogito.Quartz.Autofac\Cogito.Quartz.Autofac.csproj", "{50045FEC-896F-4B85-95C7-97566111B05C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Autofac", "src\Cogito.Quartz.Autofac\Cogito.Quartz.Autofac.csproj", "{50045FEC-896F-4B85-95C7-97566111B05C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Serilog.Autofac", "Cogito.Quartz.Serilog.Autofac\Cogito.Quartz.Serilog.Autofac.csproj", "{EFADDB69-863C-484B-8DC2-24DAB8B1F707}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cogito.Quartz.Serilog.Autofac", "src\Cogito.Quartz.Serilog.Autofac\Cogito.Quartz.Serilog.Autofac.csproj", "{EFADDB69-863C-484B-8DC2-24DAB8B1F707}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{47CA832B-6C87-491D-BDDC-221D08C5F392}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dist", "dist", "{8B55C9EF-F027-476A-BA44-5A33EDFB41B2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dist-nuget", "src\dist-nuget\dist-nuget.csproj", "{1CFE8537-6564-46B1-906F-D5F32873AF34}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dist-tests", "src\dist-tests\dist-tests.csproj", "{61DE1824-EFC8-4B55-BAE4-C178D51EF210}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -45,10 +59,27 @@ Global {EFADDB69-863C-484B-8DC2-24DAB8B1F707}.Debug|Any CPU.Build.0 = Debug|Any CPU {EFADDB69-863C-484B-8DC2-24DAB8B1F707}.Release|Any CPU.ActiveCfg = Release|Any CPU {EFADDB69-863C-484B-8DC2-24DAB8B1F707}.Release|Any CPU.Build.0 = Release|Any CPU + {1CFE8537-6564-46B1-906F-D5F32873AF34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1CFE8537-6564-46B1-906F-D5F32873AF34}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1CFE8537-6564-46B1-906F-D5F32873AF34}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1CFE8537-6564-46B1-906F-D5F32873AF34}.Release|Any CPU.Build.0 = Release|Any CPU + {61DE1824-EFC8-4B55-BAE4-C178D51EF210}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {61DE1824-EFC8-4B55-BAE4-C178D51EF210}.Debug|Any CPU.Build.0 = Debug|Any CPU + {61DE1824-EFC8-4B55-BAE4-C178D51EF210}.Release|Any CPU.ActiveCfg = Release|Any CPU + {61DE1824-EFC8-4B55-BAE4-C178D51EF210}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {D19FDDD4-BEBF-4D6D-82A7-01AB87B5E582} = {47CA832B-6C87-491D-BDDC-221D08C5F392} + {A462141A-5ABA-438B-B00B-5A5CA8C0B1CD} = {47CA832B-6C87-491D-BDDC-221D08C5F392} + {0298DF51-81F8-4676-BBEF-2E88379170B5} = {47CA832B-6C87-491D-BDDC-221D08C5F392} + {50045FEC-896F-4B85-95C7-97566111B05C} = {47CA832B-6C87-491D-BDDC-221D08C5F392} + {EFADDB69-863C-484B-8DC2-24DAB8B1F707} = {47CA832B-6C87-491D-BDDC-221D08C5F392} + {1CFE8537-6564-46B1-906F-D5F32873AF34} = {8B55C9EF-F027-476A-BA44-5A33EDFB41B2} + {61DE1824-EFC8-4B55-BAE4-C178D51EF210} = {8B55C9EF-F027-476A-BA44-5A33EDFB41B2} + EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {FF4B3820-4206-4316-82A5-DEA5792C6A71} EndGlobalSection diff --git a/Directory.Build.props b/Directory.Build.props index cdb50b4..9bfcd7f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,15 +1,39 @@ - Jerome Haltom - Alethic Solutions - https://github.com/alethic/Cogito.Quartz - git - https://github.com/alethic/Cogito.Quartz - MIT - icon.png - 8.0 + 12.0 + - + + + + Cogito.Quartz + @(Authors, ',') + $([System.DateTime]::UtcNow.Year.ToString()) + Copyright © $(CurrentYear) @(Authors, ', ') + + + + 0 + $(DefaultMajorVersion).0.0-dev + $(DefaultMajorVersion).0.0.0 + $(DefaultMajorVersion).0.0.0 + $(DefaultMajorVersion).0.0.0 + + + + https://github.com/alethic/Cogito.Quartz.git + git + https://github.com/alethic/Cogito.Quartz + $(Version) + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/GitVersion.yml b/GitVersion.yml index 0093d88..cfabef0 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1 +1,15 @@ -mode: Mainline +mode: ContinuousDeployment +assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{WeightedPreReleaseNumber ?? 0}' +major-version-bump-message: '\+semver:\s?(major)' +minor-version-bump-message: '\+semver:\s?(minor)' +patch-version-bump-message: '\+semver:\s?(patch)' +branches: + main: + regex: ^main$ + tag: pre + increment: Patch + develop: + regex: ^develop$ + tag: dev + increment: Minor + \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index dafa57a..7b9548f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,12 +18,12 @@ before_build: build: verbosity: minimal - project: Cogito.Quartz.sln + project: Cogito.Extensions.Options.sln artifacts: - path: pkg\*.nupkg - name: Cogito.Quartz - + name: Cogito.Extensions.Options + deploy: - provider: NuGet server: https://nuget.pkg.github.com/alethic/index.json diff --git a/global.json b/global.json new file mode 100644 index 0000000..5b3ef7d --- /dev/null +++ b/global.json @@ -0,0 +1,9 @@ +{ + "sdk": { + "version": "8.0.100", + "rollForward": "latestFeature" + }, + "msbuild-sdks": { + "Microsoft.Build.NoTargets": "3.7.56" + } +} diff --git a/icon.png b/icon.png index be3b230..9735fda 100644 Binary files a/icon.png and b/icon.png differ diff --git a/Cogito.Quartz.Autofac/AssemblyModule.cs b/src/Cogito.Quartz.Autofac/AssemblyModule.cs similarity index 100% rename from Cogito.Quartz.Autofac/AssemblyModule.cs rename to src/Cogito.Quartz.Autofac/AssemblyModule.cs diff --git a/Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj b/src/Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj similarity index 66% rename from Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj rename to src/Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj index fc3a6a0..07d563d 100644 --- a/Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj +++ b/src/Cogito.Quartz.Autofac/Cogito.Quartz.Autofac.csproj @@ -3,15 +3,13 @@ netstandard2.0 Provides utilites and extensions for Quartz and Autofac. - true - - - - - + + + + diff --git a/Cogito.Quartz.Autofac/IQuartzConfigurationSource.cs b/src/Cogito.Quartz.Autofac/IQuartzConfigurationSource.cs similarity index 100% rename from Cogito.Quartz.Autofac/IQuartzConfigurationSource.cs rename to src/Cogito.Quartz.Autofac/IQuartzConfigurationSource.cs diff --git a/Cogito.Quartz.Autofac/QuartzConfigurationProvider.cs b/src/Cogito.Quartz.Autofac/QuartzConfigurationProvider.cs similarity index 100% rename from Cogito.Quartz.Autofac/QuartzConfigurationProvider.cs rename to src/Cogito.Quartz.Autofac/QuartzConfigurationProvider.cs diff --git a/Cogito.Quartz.Autofac/QuartzDefaultConfigurationSource.cs b/src/Cogito.Quartz.Autofac/QuartzDefaultConfigurationSource.cs similarity index 100% rename from Cogito.Quartz.Autofac/QuartzDefaultConfigurationSource.cs rename to src/Cogito.Quartz.Autofac/QuartzDefaultConfigurationSource.cs diff --git a/Cogito.Quartz.Autofac/QuartzOptionsConfigurationSource.cs b/src/Cogito.Quartz.Autofac/QuartzOptionsConfigurationSource.cs similarity index 100% rename from Cogito.Quartz.Autofac/QuartzOptionsConfigurationSource.cs rename to src/Cogito.Quartz.Autofac/QuartzOptionsConfigurationSource.cs diff --git a/Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj b/src/Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj similarity index 80% rename from Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj rename to src/Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj index cf34344..bb50eec 100644 --- a/Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj +++ b/src/Cogito.Quartz.Sample1/Cogito.Quartz.Sample1.csproj @@ -2,15 +2,15 @@ Exe - net6.0 + net8.0 - - - - - + + + + + diff --git a/Cogito.Quartz.Sample1/Program.cs b/src/Cogito.Quartz.Sample1/Program.cs similarity index 100% rename from Cogito.Quartz.Sample1/Program.cs rename to src/Cogito.Quartz.Sample1/Program.cs diff --git a/Cogito.Quartz.Serilog.Autofac/AssemblyModule.cs b/src/Cogito.Quartz.Serilog.Autofac/AssemblyModule.cs similarity index 100% rename from Cogito.Quartz.Serilog.Autofac/AssemblyModule.cs rename to src/Cogito.Quartz.Serilog.Autofac/AssemblyModule.cs diff --git a/Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj b/src/Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj similarity index 88% rename from Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj rename to src/Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj index 880c131..3e5b6dc 100644 --- a/Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj +++ b/src/Cogito.Quartz.Serilog.Autofac/Cogito.Quartz.Serilog.Autofac.csproj @@ -3,7 +3,6 @@ netstandard2.0 Automatically registers Serilog extensions with Autofac. - true diff --git a/Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj b/src/Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj similarity index 53% rename from Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj rename to src/Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj index d4c6359..55a0146 100644 --- a/Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj +++ b/src/Cogito.Quartz.Serilog/Cogito.Quartz.Serilog.csproj @@ -3,11 +3,13 @@ netstandard2.0 Provides extensions for Quartz for logging to Serilog. - true - + + + + diff --git a/Cogito.Quartz.Serilog/JobDetailDestructuringPolicy.cs b/src/Cogito.Quartz.Serilog/JobDetailDestructuringPolicy.cs similarity index 100% rename from Cogito.Quartz.Serilog/JobDetailDestructuringPolicy.cs rename to src/Cogito.Quartz.Serilog/JobDetailDestructuringPolicy.cs diff --git a/Cogito.Quartz.Serilog/TriggerDestructuringPolicy.cs b/src/Cogito.Quartz.Serilog/TriggerDestructuringPolicy.cs similarity index 100% rename from Cogito.Quartz.Serilog/TriggerDestructuringPolicy.cs rename to src/Cogito.Quartz.Serilog/TriggerDestructuringPolicy.cs diff --git a/Cogito.Quartz/Cogito.Quartz.csproj b/src/Cogito.Quartz/Cogito.Quartz.csproj similarity index 65% rename from Cogito.Quartz/Cogito.Quartz.csproj rename to src/Cogito.Quartz/Cogito.Quartz.csproj index 1ad6eab..c9b45b5 100644 --- a/Cogito.Quartz/Cogito.Quartz.csproj +++ b/src/Cogito.Quartz/Cogito.Quartz.csproj @@ -3,18 +3,17 @@ netstandard2.0 Provides utilites and extensions for Quartz. - true - - - - - - - - + + + + + + + + diff --git a/Cogito.Quartz/Options/QuartzDataSourceOptions.cs b/src/Cogito.Quartz/Options/QuartzDataSourceOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzDataSourceOptions.cs rename to src/Cogito.Quartz/Options/QuartzDataSourceOptions.cs diff --git a/Cogito.Quartz/Options/QuartzJobStoreOptions.cs b/src/Cogito.Quartz/Options/QuartzJobStoreOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzJobStoreOptions.cs rename to src/Cogito.Quartz/Options/QuartzJobStoreOptions.cs diff --git a/Cogito.Quartz/Options/QuartzOptions.cs b/src/Cogito.Quartz/Options/QuartzOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzOptions.cs rename to src/Cogito.Quartz/Options/QuartzOptions.cs diff --git a/Cogito.Quartz/Options/QuartzSchedulerJobFactoryOptions.cs b/src/Cogito.Quartz/Options/QuartzSchedulerJobFactoryOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzSchedulerJobFactoryOptions.cs rename to src/Cogito.Quartz/Options/QuartzSchedulerJobFactoryOptions.cs diff --git a/Cogito.Quartz/Options/QuartzSchedulerOptions.cs b/src/Cogito.Quartz/Options/QuartzSchedulerOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzSchedulerOptions.cs rename to src/Cogito.Quartz/Options/QuartzSchedulerOptions.cs diff --git a/Cogito.Quartz/Options/QuartzSerializerOptions.cs b/src/Cogito.Quartz/Options/QuartzSerializerOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzSerializerOptions.cs rename to src/Cogito.Quartz/Options/QuartzSerializerOptions.cs diff --git a/Cogito.Quartz/Options/QuartzSerializerType.cs b/src/Cogito.Quartz/Options/QuartzSerializerType.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzSerializerType.cs rename to src/Cogito.Quartz/Options/QuartzSerializerType.cs diff --git a/Cogito.Quartz/Options/QuartzThreadPoolOptions.cs b/src/Cogito.Quartz/Options/QuartzThreadPoolOptions.cs similarity index 100% rename from Cogito.Quartz/Options/QuartzThreadPoolOptions.cs rename to src/Cogito.Quartz/Options/QuartzThreadPoolOptions.cs diff --git a/src/dist-nuget/dist-nuget.csproj b/src/dist-nuget/dist-nuget.csproj new file mode 100644 index 0000000..afd52ba --- /dev/null +++ b/src/dist-nuget/dist-nuget.csproj @@ -0,0 +1,23 @@ + + + netstandard2.0 + false + false + + + + + . + + + . + + + . + + + . + + + + diff --git a/src/dist-tests/dist-tests.csproj b/src/dist-tests/dist-tests.csproj new file mode 100644 index 0000000..caddfb3 --- /dev/null +++ b/src/dist-tests/dist-tests.csproj @@ -0,0 +1,34 @@ + + + netstandard2.0 + false + false + + + + + + + + + + + + <_ProjectName>%(TestTarget.ProjectName) + <_ProjectFile>%(TestTarget.ProjectFile) + <_ProjectFile Condition=" '$(_ProjectFile)' == '' And Exists('..\$(_ProjectName)\$(_ProjectName).csproj') ">..\$(_ProjectName)\$(_ProjectName).csproj + <_ProjectFile Condition=" '$(_ProjectFile)' == '' And Exists('..\$(_ProjectName)\$(_ProjectName).msbuildproj') ">..\$(_ProjectName)\$(_ProjectName).msbuildproj + <_TargetFramework>%(TestTarget.TargetFramework) + + + + + + TargetFramework=$(_TargetFramework) + $(_ProjectName)\$(_TargetFramework) + PreserveNewest + + + + +