gnat/gprbuild external broader regex (#924)
This commit is contained in:
@@ -6,7 +6,7 @@ maintainers-logins = ["mosteo"]
|
||||
|
||||
[[external]]
|
||||
kind = "version-output"
|
||||
version-regexp = "^GNAT ([\\d\\.]+).*|^GNAT Community ([\\d]{4}).*"
|
||||
version-regexp = "^GNAT\\D*([\\d\\.]+).*"
|
||||
version-command = ["gnat", "--version"]
|
||||
provides = "gnat"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ maintainers-logins = ["mosteo"]
|
||||
|
||||
[[external]]
|
||||
kind = "version-output"
|
||||
version-regexp = "^GPRBUILD ([\\d\\.-]+).*|^GPRBUILD Community ([\\d\\.-]+).*"
|
||||
version-regexp = "^GPRBUILD\\D*([\\d\\.-]+).*"
|
||||
version-command = ["gprbuild", "--version"]
|
||||
|
||||
# Neither macOS distribution (Homebrew, MacPorts) provides gprbuild.
|
||||
|
||||
Reference in New Issue
Block a user