This cross platform - Linux, Mac OS X and Windows - F# .Net library and smartphone app converts Maya Tzolk’in dates to Gregorian dates and vice versa.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add GitHub actions

+1170 -57
+12
.config/dotnet-tools.json
··· 25 25 "commands": [ 26 26 "altcover.visualizer" 27 27 ] 28 + }, 29 + "paket": { 30 + "version": "5.257.0", 31 + "commands": [ 32 + "paket" 33 + ] 34 + }, 35 + "fake-cli": { 36 + "version": "5.20.4", 37 + "commands": [ 38 + "fake" 39 + ] 28 40 } 29 41 } 30 42 }
+112
.github/workflows/create_packages.yml
··· 1 + # SPDX-License-Identifier: MIT 2 + # Copyright (C) 2021 Roland Csaszar 3 + # 4 + # Project: Tzolkin 5 + # File: create_packages.yml 6 + # 7 + ################################################################################ 8 + 9 + name: Nuget Packages 10 + 11 + on: 12 + release: 13 + types: [created] 14 + 15 + push: 16 + tags: 17 + - "v*.*.*" 18 + 19 + # Allows you to run this workflow manually from the Actions tab 20 + workflow_dispatch: 21 + 22 + jobs: 23 + package: 24 + runs-on: ubuntu-20.04 25 + 26 + steps: 27 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 28 + - uses: actions/checkout@v2 29 + - name: Setup Python 30 + uses: actions/setup-python@v2 31 + with: 32 + python-version: "3.9" 33 + - name: Setup .NET 34 + uses: actions/setup-dotnet@v1 35 + with: 36 + dotnet-version: 5.0.x 37 + 38 + - name: Cache pip 39 + uses: actions/cache@v2 40 + with: 41 + path: ~/.cache/pip 42 + key: ${{ runner.os }}-Tzolkin-pip-pipenv-${{ hashFiles('Pipfile.lock') }} 43 + restore-keys: | 44 + ${{ runner.os }}-Tzolkin-pip-pipenv 45 + 46 + - name: Cache pipenv 47 + uses: actions/cache@v2 48 + with: 49 + path: ~/.local/share/virtualenvs 50 + key: ${{ runner.os }}-Tzolkin-pipenv-${{ hashFiles('Pipfile.lock') }} 51 + restore-keys: | 52 + ${{ runner.os }}-Tzolkin-pipenv- 53 + 54 + - name: Setup pipenv 55 + run: python -m pip install --upgrade pipenv 56 + 57 + - name: Setup MkDocs 58 + run: | 59 + cd $GITHUB_WORKSPACE 60 + python -m pipenv install --dev 61 + 62 + - name: Setup Tools 63 + run: | 64 + dotnet tool restore 65 + dotnet paket restore 66 + 67 + - uses: olegtarasov/get-tag@v2.1 68 + id: tagName 69 + with: 70 + tagRegex: "v(.*)" 71 + 72 + - name: Build Package 73 + run: | 74 + cd $GITHUB_WORKSPACE 75 + dotnet fake run ./build.fsx target Packages $GIT_TAG_NAME 76 + 77 + - name: Generate Changelog 78 + run: | 79 + cd $GITHUB_WORKSPACE/scripts 80 + ./get_changelog.sh > ../first_changelog.md 81 + 82 + - name: Release to GitHub 83 + uses: softprops/action-gh-release@v1 84 + if: startsWith(github.ref, 'refs/tags/') 85 + with: 86 + name: Version ${{ env.GIT_TAG_NAME }} 87 + body_path: first_changelog.md 88 + files: ./packages/*.nupkg 89 + env: 90 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 91 + 92 + #- name: Release NuGet to GitHub 93 + # uses: svenstaro/upload-release-action@v2 94 + # if: startsWith(github.ref, 'refs/tags/') 95 + # with: 96 + # release_name: Version ${{ env.GIT_TAG_NAME }} 97 + # repo_token: ${{ secrets.GITHUB_TOKEN }} 98 + # tag: ${{ github.ref }} 99 + # file_glob: false 100 + # asset_name: NuGet Package 101 + # file: ./packages/Tzolkin.nupkg 102 + 103 + - name: Upload 104 + run: | 105 + cd $GITHUB_WORKSPACE 106 + dotnet nuget push ./packages/*.nupkg -k ${{ secrets.NUGET_PACKAGE }} -s https://api.nuget.org/v3/index.json 107 + 108 + - uses: actions/upload-artifact@v2 109 + if: ${{ always() }} 110 + with: 111 + name: Nuget Packages 112 + path: ./packages/*
+87
.github/workflows/linux_test.yml
··· 1 + # SPDX-License-Identifier: MIT 2 + # Copyright (C) 2021 Roland Csaszar 3 + # 4 + # Project: Tzolkin 5 + # File: linux_test.yml 6 + # 7 + ################################################################################ 8 + 9 + name: Tests Ubuntu 20.04 10 + 11 + # Controls when the action will run. 12 + on: 13 + # Triggers the workflow on push or pull request events but only for the main branch 14 + push: 15 + branches: [main] 16 + pull_request: 17 + branches: [main] 18 + workflow_run: 19 + workflows: ["Nuget Packages"] 20 + types: [completed] 21 + 22 + # Allows you to run this workflow manually from the Actions tab 23 + workflow_dispatch: 24 + 25 + # A workflow run is made up of one or more jobs that can run sequentially or in parallel 26 + jobs: 27 + tests-coverage: 28 + runs-on: ubuntu-20.04 29 + 30 + steps: 31 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 32 + - uses: actions/checkout@v2 33 + - name: Setup .NET 34 + uses: actions/setup-dotnet@v1 35 + with: 36 + dotnet-version: 5.0.x 37 + 38 + - name: Setup Tools 39 + run: | 40 + dotnet tool restore 41 + dotnet paket restore 42 + 43 + - name: Run Tests 44 + run: | 45 + cd $GITHUB_WORKSPACE 46 + dotnet fake run ./build.fsx target TestsCoverage 47 + 48 + - name: Upload coverage to Codecov 49 + uses: codecov/codecov-action@v1 50 + if: ${{ always() }} 51 + with: 52 + token: ${{ secrets.CODECOV_SECRET }} 53 + files: ./test_results/coverage.xml 54 + directory: ./coverage/reports/ 55 + # flags: unittest 56 + env_vars: OS,PYTHON 57 + name: Linux-Test-Src 58 + fail_ci_if_error: false 59 + path_to_write_report: ./coverage/codecov_report.txt 60 + verbose: true 61 + 62 + tests: 63 + runs-on: ubuntu-20.04 64 + 65 + steps: 66 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 67 + - uses: actions/checkout@v2 68 + - name: Setup .NET 69 + uses: actions/setup-dotnet@v1 70 + with: 71 + dotnet-version: 5.0.x 72 + 73 + - name: Setup Tools 74 + run: | 75 + dotnet tool restore 76 + dotnet paket restore 77 + 78 + - name: Run Tests 79 + run: | 80 + cd $GITHUB_WORKSPACE 81 + dotnet fake run ./build.fsx target Tests 82 + 83 + - uses: actions/upload-artifact@v2 84 + if: ${{ always() }} 85 + with: 86 + name: Test Results 87 + path: ./test_results/*.trx
+87
.github/workflows/osx_test.yml
··· 1 + # SPDX-License-Identifier: MIT 2 + # Copyright (C) 2021 Roland Csaszar 3 + # 4 + # Project: Tzolkin 5 + # File: osx_test.yml 6 + # 7 + ################################################################################ 8 + 9 + name: Tests Mac OS X latest 10 + 11 + # Controls when the action will run. 12 + on: 13 + # Triggers the workflow on push or pull request events but only for the main branch 14 + push: 15 + branches: [main] 16 + pull_request: 17 + branches: [main] 18 + workflow_run: 19 + workflows: ["Nuget Packages"] 20 + types: [completed] 21 + 22 + # Allows you to run this workflow manually from the Actions tab 23 + workflow_dispatch: 24 + 25 + # A workflow run is made up of one or more jobs that can run sequentially or in parallel 26 + jobs: 27 + tests-coverage: 28 + runs-on: macos-latest 29 + 30 + steps: 31 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 32 + - uses: actions/checkout@v2 33 + - name: Setup .NET 34 + uses: actions/setup-dotnet@v1 35 + with: 36 + dotnet-version: 5.0.x 37 + 38 + - name: Setup Tools 39 + run: | 40 + dotnet tool restore 41 + dotnet paket restore 42 + 43 + - name: Run Tests 44 + run: | 45 + cd $GITHUB_WORKSPACE 46 + dotnet fake run ./build.fsx target TestsCoverage 47 + 48 + - name: Upload coverage to Codecov 49 + uses: codecov/codecov-action@v1 50 + if: ${{ always() }} 51 + with: 52 + token: ${{ secrets.CODECOV_SECRET }} 53 + files: ./test_results/coverage.xml 54 + directory: ./coverage/reports/ 55 + # flags: unittest 56 + env_vars: OS,PYTHON 57 + name: Linux-Test-Src 58 + fail_ci_if_error: false 59 + path_to_write_report: ./coverage/codecov_report.txt 60 + verbose: true 61 + 62 + tests: 63 + runs-on: macos-latest 64 + 65 + steps: 66 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 67 + - uses: actions/checkout@v2 68 + - name: Setup .NET 69 + uses: actions/setup-dotnet@v1 70 + with: 71 + dotnet-version: 5.0.x 72 + 73 + - name: Setup Tools 74 + run: | 75 + dotnet tool restore 76 + dotnet paket restore 77 + 78 + - name: Run Tests 79 + run: | 80 + cd $GITHUB_WORKSPACE 81 + dotnet fake run ./build.fsx target Tests 82 + 83 + - uses: actions/upload-artifact@v2 84 + if: ${{ always() }} 85 + with: 86 + name: Test Results 87 + path: ./test_results/*.trx
+86
.github/workflows/windows_test.yml
··· 1 + # SPDX-License-Identifier: MIT 2 + # Copyright (C) 2021 Roland Csaszar 3 + # 4 + # Project: Tzolkin 5 + # File: windows_test.yml 6 + # 7 + ################################################################################ 8 + 9 + name: Tests Windows 2019 10 + 11 + # Controls when the action will run. 12 + on: 13 + # Triggers the workflow on push or pull request events but only for the main branch 14 + push: 15 + branches: [main] 16 + pull_request: 17 + branches: [main] 18 + workflow_run: 19 + workflows: ["Nuget Packages"] 20 + types: [completed] 21 + 22 + # Allows you to run this workflow manually from the Actions tab 23 + workflow_dispatch: 24 + 25 + # A workflow run is made up of one or more jobs that can run sequentially or in parallel 26 + jobs: 27 + tests-coverage: 28 + runs-on: windows-2019 29 + 30 + steps: 31 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 32 + - uses: actions/checkout@v2 33 + - name: Setup .NET 34 + uses: actions/setup-dotnet@v1 35 + with: 36 + dotnet-version: 5.0.x 37 + 38 + - name: Setup Tools 39 + run: | 40 + dotnet tool restore 41 + dotnet paket restore 42 + 43 + - name: Run Tests 44 + shell: cmd 45 + run: | 46 + dotnet fake run .\build.fsx target TestsCoverage 47 + 48 + - name: Upload coverage to Codecov 49 + uses: codecov/codecov-action@v1 50 + if: ${{ always() }} 51 + with: 52 + token: ${{ secrets.CODECOV_SECRET }} 53 + files: ./test_results/coverage.xml 54 + directory: ./coverage/reports/ 55 + # flags: unittest 56 + env_vars: OS,PYTHON 57 + name: Windows-Test-Src 58 + fail_ci_if_error: false 59 + path_to_write_report: ./coverage/codecov_report.txt 60 + verbose: true 61 + 62 + tests: 63 + runs-on: windows-2019 64 + 65 + steps: 66 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 67 + - uses: actions/checkout@v2 68 + - name: Setup .NET 69 + uses: actions/setup-dotnet@v1 70 + with: 71 + dotnet-version: 5.0.x 72 + 73 + - name: Setup Tools 74 + run: | 75 + dotnet tool restore 76 + dotnet paket restore 77 + 78 + - name: Run Tests 79 + run: | 80 + dotnet fake run .\build.fsx target Tests 81 + 82 + - uses: actions/upload-artifact@v2 83 + if: ${{ always() }} 84 + with: 85 + name: Test Results 86 + path: ./test_results/*.trx
+10
Tzolkin.sln
··· 26 26 .gitattributes = .gitattributes 27 27 .gitignore = .gitignore 28 28 .readthedocs.yaml = .readthedocs.yaml 29 + build.fsx = build.fsx 30 + build.fsx.lock = build.fsx.lock 29 31 CHANGELOG.md = CHANGELOG.md 30 32 LICENSE = LICENSE 31 33 mkdocs.yml = mkdocs.yml 34 + paket.dependencies = paket.dependencies 35 + paket.lock = paket.lock 32 36 Pipfile = Pipfile 33 37 postBuild = postBuild 34 38 privacy_policy.md = privacy_policy.md ··· 54 58 EndProjectSection 55 59 EndProject 56 60 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github", "github", "{EA6A6722-8FF9-44D0-8A40-DCC5EC60F557}" 61 + ProjectSection(SolutionItems) = preProject 62 + .github\workflows\create_packages.yml = .github\workflows\create_packages.yml 63 + .github\workflows\linux_test.yml = .github\workflows\linux_test.yml 64 + .github\workflows\osx_test.yml = .github\workflows\osx_test.yml 65 + .github\workflows\windows_test.yml = .github\workflows\windows_test.yml 66 + EndProjectSection 57 67 EndProject 58 68 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{16744CD7-95E7-44F7-9615-E1BFBED09227}" 59 69 ProjectSection(SolutionItems) = preProject
+394
build.fsx
··· 1 + // SPDX-License-Identifier: MIT 2 + // Copyright (C) 2021 Roland Csaszar 3 + // File: build.fsx 4 + // 5 + //============================================================================== 6 + 7 + #r "paket: 8 + nuget Fake.Tools.Git 9 + nuget Fake.DotNet.NuGet 10 + nuget Fake.DotNet.Cli 11 + nuget Fake.IO.FileSystem 12 + nuget Fake.Core.Target 13 + nuget Fake.Core.ReleaseNotes //" 14 + #load ".fake/build.fsx/intellisense.fsx" 15 + 16 + open Fake.Core 17 + open Fake.DotNet 18 + open Fake.DotNet.NuGet 19 + open Fake.IO 20 + open Fake.IO.Globbing.Operators 21 + open Fake.Core.TargetOperators 22 + 23 + Target.initEnvironment () 24 + 25 + // set the path to the changelog file to parse 26 + let changelogPath = "./CHANGELOG.md" 27 + 28 + // set output paths ============================================================ 29 + let packageOutputPath = "nuget" // Nuget packages go here 30 + let testOutputPath = "test_results" // test results and coverage data 31 + let exeOutPath = "bin" // dotnet publish into this 32 + 33 + // set absolute output paths =================================================== 34 + let rootDirAbs = Path.getFullName "." // current working dir, absolute 35 + let testOutAbs = Path.combine rootDirAbs testOutputPath // test result dir, absolute 36 + let coverageFile = Path.combine testOutAbs "coverage.xml" // absolute path to coverage file 37 + 38 + // set the projects to pass to each target ===================================== 39 + 40 + // projects to build, this should be all projects ... 41 + let buildProjs = 42 + !! "src/TzolkinDate/*.*proj" ++ "tests/**/*.*proj" 43 + 44 + // projects to test / test projects in `tests`, not the ones in `src` 45 + let testProjs = !! "tests/**/*.*proj" 46 + 47 + // test coverage packages 48 + let coverageProjs = testProjs 49 + 50 + // projects to generate Nuget packages of 51 + let packageProjs = !! "src/TzolkinDate/*.*proj" 52 + 53 + // projects to publish (`dotnet publish`) 54 + let publishProjs = 55 + !! "tests/**/*.*proj" 56 + 57 + // projects that should be linted 58 + let lintProjs = 59 + !! "src/**/*.*proj" ++ "tests/**/*.*proj" 60 + 61 + 62 + //============================================================================== 63 + 64 + // set common build options and `debug` and `release` configuration ============ 65 + let commonDotNetOpts = DotNet.Options.Create() 66 + 67 + let commonBuildOpts = commonDotNetOpts 68 + 69 + 70 + let uploadOpts = NuGet.NuGetPushParams.Create() 71 + let release = DotNet.BuildConfiguration.Release 72 + let debug = DotNet.BuildConfiguration.Debug 73 + 74 + // Build options for the targets `Build` and `BuildDeb` ======================== 75 + let setBuildOpts config (opts: DotNet.BuildOptions) = 76 + { opts with 77 + NoLogo = true 78 + Common = commonBuildOpts 79 + Configuration = config } 80 + 81 + let setBuildOptsDeb = setBuildOpts debug 82 + let setBuildOptsRel = setBuildOpts release 83 + 84 + // Test options for the target `Tests` ========================================= 85 + let setTestOpts config (opts: DotNet.TestOptions) = 86 + { opts with 87 + Configuration = config 88 + NoBuild = false 89 + NoLogo = true 90 + Common = 91 + { commonDotNetOpts with 92 + Verbosity = Some DotNet.Verbosity.Normal } 93 + ResultsDirectory = Some testOutputPath 94 + Logger = Some "trx" } 95 + 96 + let setTestOptsRel = setTestOpts release 97 + let setTestOptsDeb = setTestOpts debug 98 + 99 + // Coverage test options for the targets `TestCoverage` and `TestCoverageDeb` == 100 + let setCoverageOpts config (opts: DotNet.TestOptions) = 101 + { opts with 102 + Configuration = config 103 + NoBuild = false 104 + NoLogo = true 105 + Common = 106 + { commonDotNetOpts with 107 + CustomParams = Some(sprintf "/p:AltCover=true /p:AltCoverReport=%s" coverageFile) 108 + Verbosity = Some DotNet.Verbosity.Normal } 109 + ResultsDirectory = Some testOutputPath } 110 + 111 + let setCoverageOptsRel = setCoverageOpts release 112 + let setCoverageOptsDeb = setCoverageOpts debug 113 + 114 + // Nuget packaging options for target `Packages` =============================== 115 + let setPackageOpts version (opts: DotNet.PackOptions) = 116 + { opts with 117 + NoLogo = true 118 + NoBuild = true 119 + OutputPath = Some packageOutputPath 120 + IncludeSymbols = false 121 + Configuration = release 122 + Common = 123 + { commonDotNetOpts with 124 + CustomParams = Some(sprintf "/property:Version=%s -p:FileVersion=%s" version version) } } 125 + 126 + // Nuget upload options for `Upload` =========================================== 127 + let setUploadOpts (opts: DotNet.NuGetPushOptions) = 128 + { opts with 129 + Common = commonDotNetOpts 130 + PushParams = 131 + { uploadOpts with 132 + Source = Some "https://api.nuget.org/v3/index.json" 133 + NoSymbols = true 134 + DisableBuffering = true 135 + ApiKey = None 136 + // NoServiceEndpoint = false 137 + } 138 + // NoServiceEndpoint = false 139 + } 140 + 141 + // Publish options for Target `Publish` ======================================== 142 + let setPublishOptions rid version (opts: DotNet.PublishOptions) = 143 + { opts with 144 + NoLogo = true 145 + NoBuild = false 146 + OutputPath = Some exeOutPath 147 + Configuration = release 148 + SelfContained = Some true 149 + Runtime = Some rid 150 + Common = commonBuildOpts 151 + VersionSuffix = Some rid } 152 + 153 + //============================================================================== 154 + 155 + 156 + //============================================================================== 157 + // Changelog 158 + // 159 + let getChangelogVersion () = 160 + // load the changelog and get the version number 161 + try 162 + let changelog = ReleaseNotes.load changelogPath 163 + let changelogVersion = changelog.SemVer 164 + Trace.trace (sprintf "Changelog version '%s'" changelogVersion.AsString) 165 + Some changelogVersion 166 + with 167 + | excp 168 + | excp -> 169 + (Trace.traceError (sprintf "Error '%s' parsing changelog '%s'" excp.Message changelogPath) 170 + failwith "Error: no version found in the Changelog! Did you forget setting it?") 171 + 172 + let getVersion (changelogVers: SemVerInfo option) (argVersion: SemVerInfo) = 173 + match changelogVers with 174 + | None -> failwith "Error: no version in Changelog found!" 175 + | Some vers -> 176 + if vers <> argVersion then 177 + failwith ( 178 + sprintf 179 + "Error: The version in the Changelog is %s from command line is %s" 180 + vers.AsString 181 + argVersion.AsString 182 + ) 183 + else 184 + vers.AsString 185 + 186 + //============================================================================== 187 + // Set OS Name 188 + // 189 + let getRID () = 190 + if Environment.isLinux then "linux-x64" 191 + elif Environment.isMacOS then "osx-x64" 192 + else "win-x64" 193 + 194 + //============================================================================== 195 + 196 + //============================================================================== 197 + // Clean 198 + // 199 + Target.create 200 + "Clean" 201 + (fun _ -> 202 + !! "src/**/bin" 203 + ++ "src/**/obj" 204 + ++ "tests/**/bin" 205 + ++ "tests/**/obj" 206 + ++ packageOutputPath 207 + ++ testOutputPath 208 + ++ exeOutPath 209 + |> Shell.cleanDirs 210 + 211 + !! "src/**/*.exn" 212 + ++ "tests/**/*.exn" 213 + ++ "tests/**/coverage.xml" 214 + |> Seq.iter File.delete) 215 + 216 + //============================================================================== 217 + // Distclean 218 + // 219 + Target.create 220 + "Distclean" 221 + (fun _ -> 222 + !! "site/" 223 + ++ ".ionide/" 224 + ++ ".fake" 225 + ++ ".paket" 226 + ++ ".paket-files" 227 + ++ ".vs" 228 + |> Shell.deleteDirs) 229 + 230 + 231 + //============================================================================== 232 + // Lint 233 + // 234 + let execFSharpLint projFile = 235 + let result = 236 + DotNet.exec id "fsharplint" (sprintf "lint %s" projFile) 237 + 238 + if result.ExitCode <> 0 then 239 + failwith "Lint exited with an error!" 240 + 241 + Target.create "Lint" (fun _ -> lintProjs |> Seq.iter execFSharpLint) 242 + 243 + 244 + //============================================================================== 245 + // Build 246 + // 247 + Target.create 248 + "Build" 249 + (fun _ -> 250 + buildProjs 251 + |> Seq.iter (DotNet.build setBuildOptsRel)) 252 + 253 + //============================================================================== 254 + // Debug Build 255 + // 256 + Target.create 257 + "BuildDeb" 258 + (fun _ -> 259 + buildProjs 260 + |> Seq.iter (DotNet.build setBuildOptsDeb)) 261 + 262 + 263 + //============================================================================== 264 + // Docs 265 + // 266 + Target.create 267 + "Docs" 268 + (fun _ -> 269 + CreateProcess.fromRawCommand "pipenv" [ "run"; "mkdocs"; "build" ] 270 + |> CreateProcess.ensureExitCode // will make sure to throw on error 271 + |> CreateProcess.withWorkingDirectory "." 272 + |> Proc.run 273 + |> ignore) 274 + 275 + //============================================================================== 276 + // Tests 277 + // 278 + Target.create "Tests" (fun _ -> testProjs |> Seq.iter (DotNet.test setTestOptsRel)) 279 + 280 + //============================================================================== 281 + // Debug Tests 282 + // 283 + Target.create "TestsDeb" (fun _ -> testProjs |> Seq.iter (DotNet.test setTestOptsDeb)) 284 + 285 + //============================================================================== 286 + // Tests & Coverage (Always Debug) 287 + // 288 + Target.create 289 + "TestsCoverage" 290 + (fun _ -> 291 + coverageProjs 292 + |> Seq.iter (DotNet.test setCoverageOptsDeb)) 293 + 294 + //============================================================================== 295 + // Debug Tests & Coverage 296 + // 297 + Target.create 298 + "TestsCoverageDeb" 299 + (fun _ -> 300 + coverageProjs 301 + |> Seq.iter (DotNet.test setCoverageOptsDeb)) 302 + 303 + 304 + //============================================================================== 305 + // Packages 306 + // 307 + Target.create 308 + "Packages" 309 + (fun p -> 310 + let changelogVers = getChangelogVersion () 311 + let argVersion = SemVer.parse p.Context.Arguments.Head 312 + 313 + packageProjs 314 + |> Seq.iter (DotNet.pack (setPackageOpts (getVersion changelogVers argVersion)))) 315 + 316 + //============================================================================== 317 + // Upload Packages 318 + // 319 + Target.create 320 + "Upload" 321 + (fun _ -> 322 + !!(Path.combine packageOutputPath "*.nupkg") 323 + |> Seq.iter (DotNet.nugetPush setUploadOpts)) 324 + 325 + 326 + //============================================================================== 327 + // Publish 328 + // 329 + Target.create 330 + "Publish" 331 + (fun _ -> 332 + publishProjs 333 + |> Seq.iter (DotNet.publish (setPublishOptions (getRID ()))) 334 + 335 + 336 + //============================================================================== 337 + // Package Fake 4 API 338 + // 339 + //open Fake.DotNet.NuGet 340 + //Target.create "Package" (fun _ -> 341 + // copyFiles packagingOutputDirectory allFilesToPackage 342 + // NuGet.NuGet (fun p -> 343 + // { p with 344 + // Version = buildVersion 345 + // Authors = authors 346 + // Project = projectName 347 + // Summary = projectSummary 348 + // Description = projectDescription 349 + // WorkingDir = packagingDirectory 350 + // OutputPath = artifactOutputDirectory 351 + // AccessKey = myAccessKey 352 + // Publish = true }) 353 + // "template.nuspec" 354 + //) 355 + 356 + //============================================================================== 357 + // All 358 + // 359 + Target.create "All" ignore 360 + 361 + //============================================================================== 362 + // Release 363 + // 364 + Target.create "Release" ignore 365 + 366 + 367 + //============================================================================== 368 + // Target Dependencies 369 + // 370 + "Clean" ==> "Distclean" 371 + 372 + "Clean" ==> "Build" ==> "Lint" 373 + 374 + "Clean" 375 + ==> "Build" 376 + ==> "Packages" 377 + ==> "Upload" 378 + ==> "Release" 379 + 380 + "Clean" ==> "Build" ==> "Docs" ==> "Release" 381 + 382 + "Clean" ==> "Publish" ==> "Release" 383 + 384 + "Clean" ==> "Tests" 385 + 386 + "Clean" ==> "TestsDeb" 387 + 388 + "Clean" ==> "TestsCoverage" 389 + 390 + "Clean" ==> "TestsCoverageDeb" 391 + 392 + "Clean" ==> "Build" ==> "Docs" ==> "All" 393 + 394 + Target.runOrDefaultWithArguments "All"
+241
build.fsx.lock
··· 1 + STORAGE: NONE 2 + RESTRICTION: == netstandard2.0 3 + NUGET 4 + remote: https://api.nuget.org/v3/index.json 5 + BlackFox.VsWhere (1.1) 6 + FSharp.Core (>= 4.2.3) 7 + Microsoft.Win32.Registry (>= 4.7) 8 + Fake.Core.CommandLineParsing (5.20.4) 9 + FParsec (>= 1.1.1) 10 + FSharp.Core (>= 4.7.2) 11 + Fake.Core.Context (5.20.4) 12 + FSharp.Core (>= 4.7.2) 13 + Fake.Core.Environment (5.20.4) 14 + FSharp.Core (>= 4.7.2) 15 + Fake.Core.FakeVar (5.20.4) 16 + Fake.Core.Context (>= 5.20.4) 17 + FSharp.Core (>= 4.7.2) 18 + Fake.Core.Process (5.20.4) 19 + Fake.Core.Environment (>= 5.20.4) 20 + Fake.Core.FakeVar (>= 5.20.4) 21 + Fake.Core.String (>= 5.20.4) 22 + Fake.Core.Trace (>= 5.20.4) 23 + Fake.IO.FileSystem (>= 5.20.4) 24 + FSharp.Core (>= 4.7.2) 25 + System.Collections.Immutable (>= 1.7.1) 26 + Fake.Core.ReleaseNotes (5.20.4) 27 + Fake.Core.SemVer (>= 5.20.4) 28 + Fake.Core.String (>= 5.20.4) 29 + FSharp.Core (>= 4.7.2) 30 + Fake.Core.SemVer (5.20.4) 31 + FSharp.Core (>= 4.7.2) 32 + Fake.Core.String (5.20.4) 33 + FSharp.Core (>= 4.7.2) 34 + Fake.Core.Target (5.20.4) 35 + Fake.Core.CommandLineParsing (>= 5.20.4) 36 + Fake.Core.Context (>= 5.20.4) 37 + Fake.Core.Environment (>= 5.20.4) 38 + Fake.Core.FakeVar (>= 5.20.4) 39 + Fake.Core.Process (>= 5.20.4) 40 + Fake.Core.String (>= 5.20.4) 41 + Fake.Core.Trace (>= 5.20.4) 42 + FSharp.Control.Reactive (>= 4.4.2) 43 + FSharp.Core (>= 4.7.2) 44 + Fake.Core.Tasks (5.20.4) 45 + Fake.Core.Trace (>= 5.20.4) 46 + FSharp.Core (>= 4.7.2) 47 + Fake.Core.Trace (5.20.4) 48 + Fake.Core.Environment (>= 5.20.4) 49 + Fake.Core.FakeVar (>= 5.20.4) 50 + FSharp.Core (>= 4.7.2) 51 + Fake.Core.Xml (5.20.4) 52 + Fake.Core.String (>= 5.20.4) 53 + FSharp.Core (>= 4.7.2) 54 + Fake.DotNet.Cli (5.20.4) 55 + Fake.Core.Environment (>= 5.20.4) 56 + Fake.Core.Process (>= 5.20.4) 57 + Fake.Core.String (>= 5.20.4) 58 + Fake.Core.Trace (>= 5.20.4) 59 + Fake.DotNet.MSBuild (>= 5.20.4) 60 + Fake.DotNet.NuGet (>= 5.20.4) 61 + Fake.IO.FileSystem (>= 5.20.4) 62 + FSharp.Core (>= 4.7.2) 63 + Mono.Posix.NETStandard (>= 1.0) 64 + Newtonsoft.Json (>= 12.0.3) 65 + Fake.DotNet.MSBuild (5.20.4) 66 + BlackFox.VsWhere (>= 1.1) 67 + Fake.Core.Environment (>= 5.20.4) 68 + Fake.Core.Process (>= 5.20.4) 69 + Fake.Core.String (>= 5.20.4) 70 + Fake.Core.Trace (>= 5.20.4) 71 + Fake.IO.FileSystem (>= 5.20.4) 72 + FSharp.Core (>= 4.7.2) 73 + MSBuild.StructuredLogger (>= 2.1.176) 74 + Fake.DotNet.NuGet (5.20.4) 75 + Fake.Core.Environment (>= 5.20.4) 76 + Fake.Core.Process (>= 5.20.4) 77 + Fake.Core.SemVer (>= 5.20.4) 78 + Fake.Core.String (>= 5.20.4) 79 + Fake.Core.Tasks (>= 5.20.4) 80 + Fake.Core.Trace (>= 5.20.4) 81 + Fake.Core.Xml (>= 5.20.4) 82 + Fake.IO.FileSystem (>= 5.20.4) 83 + Fake.Net.Http (>= 5.20.4) 84 + FSharp.Core (>= 4.7.2) 85 + Newtonsoft.Json (>= 12.0.3) 86 + NuGet.Protocol (>= 5.6) 87 + Fake.IO.FileSystem (5.20.4) 88 + Fake.Core.String (>= 5.20.4) 89 + FSharp.Core (>= 4.7.2) 90 + Fake.Net.Http (5.20.4) 91 + Fake.Core.Trace (>= 5.20.4) 92 + FSharp.Core (>= 4.7.2) 93 + Fake.Tools.Git (5.20.4) 94 + Fake.Core.Environment (>= 5.20.4) 95 + Fake.Core.Process (>= 5.20.4) 96 + Fake.Core.SemVer (>= 5.20.4) 97 + Fake.Core.String (>= 5.20.4) 98 + Fake.Core.Trace (>= 5.20.4) 99 + Fake.IO.FileSystem (>= 5.20.4) 100 + FSharp.Core (>= 4.7.2) 101 + FParsec (1.1.1) 102 + FSharp.Core (>= 4.3.4) 103 + FSharp.Control.Reactive (5.0.2) 104 + FSharp.Core (>= 4.7.2) 105 + System.Reactive (>= 5.0) 106 + FSharp.Core (5.0.1) 107 + Microsoft.Build (16.9) 108 + Microsoft.Build.Framework (16.9) 109 + System.Security.Permissions (>= 4.7) 110 + Microsoft.Build.Tasks.Core (16.9) 111 + Microsoft.Build.Framework (>= 16.9) 112 + Microsoft.Build.Utilities.Core (>= 16.9) 113 + Microsoft.Win32.Registry (>= 4.3) 114 + System.CodeDom (>= 4.4) 115 + System.Collections.Immutable (>= 5.0) 116 + System.Reflection.Metadata (>= 1.6) 117 + System.Reflection.TypeExtensions (>= 4.1) 118 + System.Resources.Extensions (>= 4.6) 119 + System.Runtime.InteropServices (>= 4.3) 120 + System.Security.Cryptography.Pkcs (>= 4.7) 121 + System.Security.Cryptography.Xml (>= 4.7) 122 + System.Security.Permissions (>= 4.7) 123 + System.Threading.Tasks.Dataflow (>= 4.9) 124 + Microsoft.Build.Utilities.Core (16.9) 125 + Microsoft.Build.Framework (>= 16.9) 126 + Microsoft.Win32.Registry (>= 4.3) 127 + System.Collections.Immutable (>= 5.0) 128 + System.Security.Permissions (>= 4.7) 129 + System.Text.Encoding.CodePages (>= 4.0.1) 130 + Microsoft.NETCore.Platforms (5.0.2) 131 + Microsoft.NETCore.Targets (5.0) 132 + Microsoft.Win32.Registry (5.0) 133 + System.Buffers (>= 4.5.1) 134 + System.Memory (>= 4.5.4) 135 + System.Security.AccessControl (>= 5.0) 136 + System.Security.Principal.Windows (>= 5.0) 137 + Mono.Posix.NETStandard (1.0) 138 + MSBuild.StructuredLogger (2.1.404) 139 + Microsoft.Build (>= 16.4) 140 + Microsoft.Build.Framework (>= 16.4) 141 + Microsoft.Build.Tasks.Core (>= 16.4) 142 + Microsoft.Build.Utilities.Core (>= 16.4) 143 + Newtonsoft.Json (13.0.1) 144 + NuGet.Common (5.9.1) 145 + NuGet.Frameworks (>= 5.9.1) 146 + NuGet.Configuration (5.9.1) 147 + NuGet.Common (>= 5.9.1) 148 + System.Security.Cryptography.ProtectedData (>= 4.4) 149 + NuGet.Frameworks (5.9.1) 150 + NuGet.Packaging (5.9.1) 151 + Newtonsoft.Json (>= 9.0.1) 152 + NuGet.Configuration (>= 5.9.1) 153 + NuGet.Versioning (>= 5.9.1) 154 + System.Security.Cryptography.Cng (>= 5.0) 155 + System.Security.Cryptography.Pkcs (>= 5.0) 156 + NuGet.Protocol (5.9.1) 157 + NuGet.Packaging (>= 5.9.1) 158 + NuGet.Versioning (5.9.1) 159 + System.Buffers (4.5.1) 160 + System.CodeDom (5.0) 161 + System.Collections.Immutable (5.0) 162 + System.Memory (>= 4.5.4) 163 + System.Formats.Asn1 (5.0) 164 + System.Buffers (>= 4.5.1) 165 + System.Memory (>= 4.5.4) 166 + System.IO (4.3) 167 + Microsoft.NETCore.Platforms (>= 1.1) 168 + Microsoft.NETCore.Targets (>= 1.1) 169 + System.Runtime (>= 4.3) 170 + System.Text.Encoding (>= 4.3) 171 + System.Threading.Tasks (>= 4.3) 172 + System.Memory (4.5.4) 173 + System.Buffers (>= 4.5.1) 174 + System.Numerics.Vectors (>= 4.4) 175 + System.Runtime.CompilerServices.Unsafe (>= 4.5.3) 176 + System.Numerics.Vectors (4.5) 177 + System.Reactive (5.0) 178 + System.Runtime.InteropServices.WindowsRuntime (>= 4.3) 179 + System.Threading.Tasks.Extensions (>= 4.5.4) 180 + System.Reflection (4.3) 181 + Microsoft.NETCore.Platforms (>= 1.1) 182 + Microsoft.NETCore.Targets (>= 1.1) 183 + System.IO (>= 4.3) 184 + System.Reflection.Primitives (>= 4.3) 185 + System.Runtime (>= 4.3) 186 + System.Reflection.Metadata (5.0) 187 + System.Collections.Immutable (>= 5.0) 188 + System.Reflection.Primitives (4.3) 189 + Microsoft.NETCore.Platforms (>= 1.1) 190 + Microsoft.NETCore.Targets (>= 1.1) 191 + System.Runtime (>= 4.3) 192 + System.Reflection.TypeExtensions (4.7) 193 + System.Resources.Extensions (5.0) 194 + System.Memory (>= 4.5.4) 195 + System.Runtime (4.3.1) 196 + Microsoft.NETCore.Platforms (>= 1.1.1) 197 + Microsoft.NETCore.Targets (>= 1.1.3) 198 + System.Runtime.CompilerServices.Unsafe (5.0) 199 + System.Runtime.Handles (4.3) 200 + Microsoft.NETCore.Platforms (>= 1.1) 201 + Microsoft.NETCore.Targets (>= 1.1) 202 + System.Runtime (>= 4.3) 203 + System.Runtime.InteropServices (4.3) 204 + Microsoft.NETCore.Platforms (>= 1.1) 205 + Microsoft.NETCore.Targets (>= 1.1) 206 + System.Reflection (>= 4.3) 207 + System.Reflection.Primitives (>= 4.3) 208 + System.Runtime (>= 4.3) 209 + System.Runtime.Handles (>= 4.3) 210 + System.Runtime.InteropServices.WindowsRuntime (4.3) 211 + System.Runtime (>= 4.3) 212 + System.Security.AccessControl (5.0) 213 + System.Security.Principal.Windows (>= 5.0) 214 + System.Security.Cryptography.Cng (5.0) 215 + System.Security.Cryptography.Pkcs (5.0.1) 216 + System.Buffers (>= 4.5.1) 217 + System.Formats.Asn1 (>= 5.0) 218 + System.Memory (>= 4.5.4) 219 + System.Security.Cryptography.Cng (>= 5.0) 220 + System.Security.Cryptography.ProtectedData (5.0) 221 + System.Memory (>= 4.5.4) 222 + System.Security.Cryptography.Xml (5.0) 223 + System.Memory (>= 4.5.4) 224 + System.Security.Cryptography.Pkcs (>= 5.0) 225 + System.Security.Permissions (>= 5.0) 226 + System.Security.Permissions (5.0) 227 + System.Security.AccessControl (>= 5.0) 228 + System.Security.Principal.Windows (5.0) 229 + System.Text.Encoding (4.3) 230 + Microsoft.NETCore.Platforms (>= 1.1) 231 + Microsoft.NETCore.Targets (>= 1.1) 232 + System.Runtime (>= 4.3) 233 + System.Text.Encoding.CodePages (5.0) 234 + System.Runtime.CompilerServices.Unsafe (>= 5.0) 235 + System.Threading.Tasks (4.3) 236 + Microsoft.NETCore.Platforms (>= 1.1) 237 + Microsoft.NETCore.Targets (>= 1.1) 238 + System.Runtime (>= 4.3) 239 + System.Threading.Tasks.Dataflow (5.0) 240 + System.Threading.Tasks.Extensions (4.5.4) 241 + System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
+2 -2
docs/contributing.md
··· 262 262 Usage: 263 263 264 264 ```shell 265 - dotnet fake build.fsx target TARGET VERSION_STRING 265 + dotnet fake run build.fsx target TARGET VERSION_STRING 266 266 ``` 267 267 268 268 - `TARGET` is the name of the target to call, see above list for possible targets ··· 273 273 Run all default targets (see above): 274 274 275 275 ```shell 276 - dotnet fake build.fsx 276 + dotnet fake run build.fsx 277 277 ``` 278 278 279 279 Which is the same as
+24
paket.dependencies
··· 1 + source https://api.nuget.org/v3/index.json 2 + storage: none 3 + 4 + group Tests 5 + source https://api.nuget.org/v3/index.json 6 + storage none 7 + framework: net5.0 8 + 9 + nuget FSharp.Core >= 5.0 10 + 11 + nuget AltCover 12 + nuget Expecto 13 + nuget Expecto.FsCheck 14 + nuget Unquote 15 + nuget YoloDev.Expecto.TestSdk 16 + nuget Microsoft.NET.Test.Sdk 17 + 18 + group DLL 19 + source https://api.nuget.org/v3/index.json 20 + storage none 21 + framework: netstandard2.0 22 + 23 + nuget FSharp.Core >= 5.0 24 +
+45
paket.lock
··· 1 + STORAGE: NONE 2 + 3 + GROUP DLL 4 + STORAGE: NONE 5 + RESTRICTION: == netstandard2.0 6 + NUGET 7 + remote: https://api.nuget.org/v3/index.json 8 + FSharp.Core (5.0.1) 9 + 10 + GROUP Tests 11 + STORAGE: NONE 12 + RESTRICTION: == net50 13 + NUGET 14 + remote: https://api.nuget.org/v3/index.json 15 + altcover (8.1.819) 16 + Expecto (9.0.2) 17 + FSharp.Core (>= 4.6) 18 + Mono.Cecil (>= 0.11.2) 19 + Expecto.FsCheck (9.0.2) 20 + Expecto (>= 9.0.2) 21 + FsCheck (>= 2.14.2) 22 + FsCheck (2.15.2) 23 + FSharp.Core (>= 4.2.3) 24 + FSharp.Core (5.0.1) 25 + Microsoft.CodeCoverage (16.9.4) 26 + Microsoft.NET.Test.Sdk (16.9.4) 27 + Microsoft.CodeCoverage (>= 16.9.4) 28 + Microsoft.TestPlatform.TestHost (>= 16.9.4) 29 + Microsoft.TestPlatform.ObjectModel (16.9.4) 30 + NuGet.Frameworks (>= 5.0) 31 + System.Reflection.Metadata (>= 1.6) 32 + Microsoft.TestPlatform.TestHost (16.9.4) 33 + Microsoft.TestPlatform.ObjectModel (>= 16.9.4) 34 + Newtonsoft.Json (>= 9.0.1) 35 + Mono.Cecil (0.11.3) 36 + Newtonsoft.Json (13.0.1) 37 + NuGet.Frameworks (5.9.1) 38 + System.Collections.Immutable (5.0) 39 + System.Reflection.Metadata (5.0) 40 + Unquote (5.0) 41 + FSharp.Core (>= 4.6.2) 42 + YoloDev.Expecto.TestSdk (0.11.1) 43 + Expecto (>= 9.0 < 10.0) 44 + FSharp.Core (>= 4.6) 45 + System.Collections.Immutable (>= 1.5 < 5.1)
+56 -54
src/TzolkinDate/TzolkinDate.fsproj
··· 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <Project Sdk="Microsoft.NET.Sdk"> 3 - <PropertyGroup> 4 - <TargetFramework>netstandard2.0</TargetFramework> 5 - <GenerateDocumentationFile>true</GenerateDocumentationFile> 6 - <Configurations>Debug;Release;Release APK</Configurations> 7 - </PropertyGroup> 8 - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> 9 - <OtherFlags>--warnon:3390</OtherFlags> 10 - <WarningLevel>5</WarningLevel> 11 - <OutputPath>$(SolutionDir)\bin\</OutputPath> 12 - </PropertyGroup> 13 - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> 14 - <OtherFlags>--warnon:3390</OtherFlags> 15 - <WarningLevel>5</WarningLevel> 16 - </PropertyGroup> 17 - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release APK|AnyCPU'"> 18 - <OtherFlags>--warnon:3390</OtherFlags> 19 - <WarningLevel>5</WarningLevel> 20 - </PropertyGroup> 21 - <PropertyGroup> 22 - <RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers> 23 - <GeneratePackageOnBuild>true</GeneratePackageOnBuild> 24 - <PackageId>Tzolkin</PackageId> 25 - <PackageLicenseFile></PackageLicenseFile> 26 - <PackageProjectUrl>https://tzolkin.readthedocs.io/en/latest/nuget_package/</PackageProjectUrl> 27 - <RepositoryType>git</RepositoryType> 28 - <NeutralLanguage>es</NeutralLanguage> 29 - <PackageLicenseExpression>MIT</PackageLicenseExpression> 30 - <RepositoryUrl>https://github.com/Release-Candidate/Tzolkin</RepositoryUrl> 31 - <Version>0.9.17</Version> 32 - <Authors>Roland Csaszar</Authors> 33 - <Company>Release-Candidate</Company> 34 - <Product>Tzolkin</Product> 35 - <Copyright>(c) 2021 Roland Csaszar</Copyright> 36 - <PackageIcon>nuget_icon.png</PackageIcon> 37 - <PackageTags>F# Maya Tzolkin calendar calculator converter</PackageTags> 38 - <PackageReleaseNotes>Initial Release</PackageReleaseNotes> 39 - <Description>A F# library to convert and calculate with MayaTzolk’in dates and gregorian dates.</Description> 40 - </PropertyGroup> 41 - <ItemGroup> 42 - <Compile Include="Generics.fs" /> 43 - <Compile Include="TzolkinNumber.fs" /> 44 - <Compile Include="TzolkinGlyph.fs" /> 45 - <Compile Include="TzolkinDate.fs" /> 46 - </ItemGroup> 47 - <ItemGroup> 48 - <PackageReference Update="FSharp.Core" Version="5.0.1" /> 49 - </ItemGroup> 50 - <ItemGroup> 51 - <None Include="..\..\nuget_icon.png"> 52 - <Pack>True</Pack> 53 - <PackagePath></PackagePath> 54 - </None> 55 - </ItemGroup> 56 - </Project> 3 + <PropertyGroup> 4 + <TargetFramework>netstandard2.0</TargetFramework> 5 + <GenerateDocumentationFile>true</GenerateDocumentationFile> 6 + <Configurations>Debug;Release;Release APK</Configurations> 7 + </PropertyGroup> 8 + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> 9 + <OtherFlags>--warnon:3390</OtherFlags> 10 + <WarningLevel>5</WarningLevel> 11 + <OutputPath></OutputPath> 12 + </PropertyGroup> 13 + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> 14 + <OtherFlags>--warnon:3390</OtherFlags> 15 + <WarningLevel>5</WarningLevel> 16 + </PropertyGroup> 17 + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release APK|AnyCPU'"> 18 + <OtherFlags>--warnon:3390</OtherFlags> 19 + <WarningLevel>5</WarningLevel> 20 + </PropertyGroup> 21 + <PropertyGroup> 22 + <RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifiers> 23 + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> 24 + <PackageId>Tzolkin</PackageId> 25 + <PackageLicenseFile></PackageLicenseFile> 26 + <PackageProjectUrl>https://tzolkin.readthedocs.io/en/latest/nuget_package/</PackageProjectUrl> 27 + <RepositoryType>git</RepositoryType> 28 + <NeutralLanguage>es</NeutralLanguage> 29 + <PackageLicenseExpression>MIT</PackageLicenseExpression> 30 + <RepositoryUrl>https://github.com/Release-Candidate/Tzolkin</RepositoryUrl> 31 + <Version>0.9.17</Version> 32 + <Authors>Roland Csaszar</Authors> 33 + <Company>Release-Candidate</Company> 34 + <Product>Tzolkin</Product> 35 + <Copyright>(c) 2021 Roland Csaszar</Copyright> 36 + <PackageIcon>nuget_icon.png</PackageIcon> 37 + <PackageTags>F# Maya Tzolkin calendar calculator converter</PackageTags> 38 + <PackageReleaseNotes>Initial Release</PackageReleaseNotes> 39 + <Description>A F# library to convert and calculate with MayaTzolk’in dates and gregorian dates.</Description> 40 + </PropertyGroup> 41 + <ItemGroup> 42 + <None Include="paket.references" /> 43 + <Compile Include="Generics.fs" /> 44 + <Compile Include="TzolkinNumber.fs" /> 45 + <Compile Include="TzolkinGlyph.fs" /> 46 + <Compile Include="TzolkinDate.fs" /> 47 + </ItemGroup> 48 + <ItemGroup> 49 + <PackageReference Update="FSharp.Core" Version="5.0.1" /> 50 + </ItemGroup> 51 + <ItemGroup> 52 + <None Include="..\..\nuget_icon.png"> 53 + <Pack>True</Pack> 54 + <PackagePath></PackagePath> 55 + </None> 56 + </ItemGroup> 57 + <Import Project="..\..\.paket\Paket.Restore.targets" /> 58 + </Project>
+2
src/TzolkinDate/paket.references
··· 1 + group DLL 2 + FSharp.Core
+4 -1
tests/TestTzolkin/TestTzolkin.fsproj
··· 9 9 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> 10 10 <WarningLevel>5</WarningLevel> 11 11 <OtherFlags>--warnon:3390</OtherFlags> 12 - <OutputPath>$(SolutionDir)\bin\</OutputPath> 12 + <OutputPath>.\bin</OutputPath> 13 13 </PropertyGroup> 14 14 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> 15 15 <OtherFlags>--warnon:3390</OtherFlags> ··· 20 20 <WarningLevel>5</WarningLevel> 21 21 </PropertyGroup> 22 22 <ItemGroup> 23 + <None Include="paket.references" /> 23 24 <Compile Include="Generic.fs" /> 24 25 <Compile Include="TestTzolkinNumber.fs" /> 25 26 <Compile Include="TestTzolkinGlyph.fs" /> 26 27 <Compile Include="TestTzolkinDate.fs" /> 27 28 <Compile Include="TestMain.fs" /> 28 29 </ItemGroup> 30 + <ItemGroup /> 29 31 <ItemGroup> 30 32 <PackageReference Include="AltCover" Version="8.1.819" /> 31 33 <PackageReference Include="Expecto" Version="9.*" /> ··· 40 42 <ItemGroup> 41 43 <PackageReference Update="FSharp.Core" Version="5.0.1" /> 42 44 </ItemGroup> 45 + <Import Project="..\..\.paket\Paket.Restore.targets" /> 43 46 </Project>
+8
tests/TestTzolkin/paket.references
··· 1 + group Tests 2 + FSharp.Core 3 + AltCover 4 + Expecto 5 + Expecto.FsCheck 6 + Unquote 7 + YoloDev.Expecto.TestSdk 8 + Microsoft.NET.Test.Sdk