Skip to content

Commit

Permalink
gnat/gprbuild external broader regex (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowan-walshe authored Nov 27, 2023
1 parent a858924 commit 064bfe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index/gn/gnat_external/gnat_external-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion index/gp/gprbuild/gprbuild-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 064bfe6

Please sign in to comment.