fhir-mapping-exceptions-winfix
1.1.0
dotnet tool install --global fhir-mapping-exceptions-winfix --version 1.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local fhir-mapping-exceptions-winfix --version 1.1.0
#tool dotnet:?package=fhir-mapping-exceptions-winfix&version=1.1.0
nuke :add-package fhir-mapping-exceptions-winfix --version 1.1.0
Mapping Exceptions WinFix
This simple command-line project is here to help contributors to the FHIR specification to be able to cleanup the line endings in the mapping-exceptions.xml files generated by the FHIR build process. The FHIR build process generates these files with forced line endings, which causes issues when git checks these files out on Windows.
This project will convert the line endings to the standard line endings for the platform it is run on.
It is intended to be run after the FHIR build process has completed before committing any changes to git. (To help remove unintended changes due to inconsistent line endings)
Usage:
c:\git\hl7\fhir-core-spec> fhir-mapping-exceptions-winfix
FHIR Core Specification mapping-exceptions.xml re-writer
correcting line endings for c:\git\hl7\fhir-core-spec\source\account\account-fivews-mapping-exceptions.xml ModifiedInWorkdir
correcting line endings for c:\git\hl7\fhir-core-spec\source\activitydefinition\activitydefinition-definition-mapping-exceptions.xml ModifiedInWorkdir
correcting line endings for c:\git\hl7\fhir-core-spec\source\activitydefinition\activitydefinition-fivews-mapping-exceptions.xml ModifiedInWorkdir
correcting line endings for c:\git\hl7\fhir-core-spec\source\actordefinition\actordefinition-fivews-mapping-exceptions.xml ModifiedInWorkdir
correcting line endings for c:\git\hl7\fhir-core-spec\source\administrableproductdefinition\administrableproductdefinition-fivews-mapping-exceptions.xml ModifiedInWorkdir
...
The tool will do nothing if it is run in a folder that does not contain a git repo with a parent of the FHIR source repo. (https://github.com/HL7/fhir.git) And only updates files that are already checked out in the local folder.
Installation
This is a dotnet global tool, so it can be installed with the following command:
dotnet tool install -g fhir-mapping-exceptions-winfix
Uninstall
To uninstall the tool, use the following command:
dotnet tool uninstall -g fhir-mapping-exceptions-winfix
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.