mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: Fortran module (#6685)
--------- Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -530,6 +530,54 @@
|
||||
"disabled": false
|
||||
}
|
||||
},
|
||||
"fortran": {
|
||||
"$ref": "#/$defs/FortranConfig",
|
||||
"default": {
|
||||
"format": "via [$symbol($version(-$name) )]($style)",
|
||||
"version_format": "${raw}",
|
||||
"symbol": "🅵 ",
|
||||
"style": "bold purple",
|
||||
"disabled": false,
|
||||
"detect_extensions": [
|
||||
"f",
|
||||
"F",
|
||||
"for",
|
||||
"FOR",
|
||||
"ftn",
|
||||
"FTN",
|
||||
"f77",
|
||||
"F77",
|
||||
"f90",
|
||||
"F90",
|
||||
"f95",
|
||||
"F95",
|
||||
"f03",
|
||||
"F03",
|
||||
"f08",
|
||||
"F08",
|
||||
"f18",
|
||||
"F18"
|
||||
],
|
||||
"detect_files": [
|
||||
"fpm.toml"
|
||||
],
|
||||
"detect_folders": [],
|
||||
"commands": [
|
||||
[
|
||||
"gfortran",
|
||||
"--version"
|
||||
],
|
||||
[
|
||||
"flang",
|
||||
"--version"
|
||||
],
|
||||
[
|
||||
"flang-new",
|
||||
"--version"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"fossil_branch": {
|
||||
"$ref": "#/$defs/FossilBranchConfig",
|
||||
"default": {
|
||||
@@ -3083,6 +3131,97 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"FortranConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"type": "string",
|
||||
"default": "via [$symbol($version(-$name) )]($style)"
|
||||
},
|
||||
"version_format": {
|
||||
"type": "string",
|
||||
"default": "${raw}"
|
||||
},
|
||||
"symbol": {
|
||||
"type": "string",
|
||||
"default": "🅵 "
|
||||
},
|
||||
"style": {
|
||||
"type": "string",
|
||||
"default": "bold purple"
|
||||
},
|
||||
"disabled": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"detect_extensions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [
|
||||
"f",
|
||||
"F",
|
||||
"for",
|
||||
"FOR",
|
||||
"ftn",
|
||||
"FTN",
|
||||
"f77",
|
||||
"F77",
|
||||
"f90",
|
||||
"F90",
|
||||
"f95",
|
||||
"F95",
|
||||
"f03",
|
||||
"F03",
|
||||
"f08",
|
||||
"F08",
|
||||
"f18",
|
||||
"F18"
|
||||
]
|
||||
},
|
||||
"detect_files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [
|
||||
"fpm.toml"
|
||||
]
|
||||
},
|
||||
"detect_folders": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": []
|
||||
},
|
||||
"commands": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"default": [
|
||||
[
|
||||
"gfortran",
|
||||
"--version"
|
||||
],
|
||||
[
|
||||
"flang",
|
||||
"--version"
|
||||
],
|
||||
[
|
||||
"flang-new",
|
||||
"--version"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"FossilBranchConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user