Skip to content

Commit

Permalink
Update RFC 5646 data
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr727 committed Jul 9, 2024
1 parent 80e16ed commit e4a5cb0
Show file tree
Hide file tree
Showing 14 changed files with 887 additions and 105 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ updates:
# main
- package-ecosystem: "nuget"
directory: "/"
target-branch: "main"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
schedule:
interval: "daily"

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -435,4 +435,4 @@ fabric.properties
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
!*.code-workspace
4 changes: 0 additions & 4 deletions .idea/.idea.Utilities/.idea/encodings.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/.idea.Utilities/.idea/indexLayout.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/.idea.Utilities/.idea/misc.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/.idea.Utilities/.idea/projectSettingsUpdater.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/.idea.Utilities/.idea/vcs.xml

This file was deleted.

28 changes: 0 additions & 28 deletions .vscode/launch.json

This file was deleted.

118 changes: 115 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,126 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"label": "dotnet build",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/UtilitiesTests/UtilitiesTests.csproj"
"${workspaceFolder}/Utilities/Utilities.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "dotnet publish",
"type": "process",
"command": "dotnet",
"args": [
"publish",
"${workspaceFolder}/Utilities/Utilities.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "install t4",
"type": "process",
"command": "dotnet",
"args": [
"tool",
"install",
"-g",
"dotnet-t4"
],
"problemMatcher": []
},
{
"label": "updata iso-639-2 data",
"type": "process",
"command": "wget",
"args": [
"-O",
"${workspaceFolder}/Data/ISO-639-2_utf-8.txt",
"https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt"
],
"problemMatcher": []
},
{
"label": "build iso-639-2 data",
"type": "process",
"command": "t4",
"args": [
"-P=${workspaceFolder}/Utilities/bin/Release/net8.0/publish",
"--out=${workspaceFolder}/Utilities/Iso6392Gen.cs",
"${workspaceFolder}/Utilities/Iso6392Gen.tt"
],
"dependsOn": [
"updata iso-639-2 data"
],
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "updata iso-639-3 data",
"type": "process",
"command": "wget",
"args": [
"-O",
"${workspaceFolder}/Data/iso-639-3.tab",
"https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab"
],
"problemMatcher": []
},
{
"label": "build iso-639-3 data",
"type": "process",
"command": "t4",
"args": [
"-P=${workspaceFolder}/Utilities/bin/Release/net8.0/publish",
"--out=${workspaceFolder}/Utilities/Iso6393Gen.cs",
"${workspaceFolder}/Utilities/Iso6393Gen.tt"
],
"dependsOn": [
"updata iso-639-3 data"
],
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "updata rfc-5646 data",
"type": "process",
"command": "wget",
"args": [
"-O",
"${workspaceFolder}/Data/language-subtag-registry",
"https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry"
],
"problemMatcher": []
},
{
"label": "build rfc-5646 data",
"type": "process",
"command": "t4",
"args": [
"-P=${workspaceFolder}/Utilities/bin/Release/net8.0/publish",
"--out=${workspaceFolder}/Utilities/Rfc5646Gen.cs",
"${workspaceFolder}/Utilities/Rfc5646Gen.tt"
],
"dependsOn": [
"updata rfc-5646 data"
],
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "build language files",
"dependsOn": [
"install t4",
"dotnet publish",
"build iso-6393-2 data",
"build iso-6393-3 data",
"build rfc-5646 data"
],
"dependsOrder": "sequence",
"problemMatcher": []
}
]
}
Loading

0 comments on commit e4a5cb0

Please sign in to comment.