Detect make from version output (#148)
* Detect make from version output This way it is available even in platforms without package manager (macOS). * Code review (case expression)
This commit is contained in:
committed by
GitHub
parent
307e530396
commit
408bf8e9cf
@@ -6,5 +6,9 @@ maintainers-logins = ["mosteo"]
|
||||
|
||||
[[external]]
|
||||
kind = "system"
|
||||
[external.origin."case(distribution)"]
|
||||
"..." = ["make"]
|
||||
origin."case(distribution)"."..." = ["make"]
|
||||
|
||||
[[external]]
|
||||
kind = "version-output"
|
||||
version-command = [ "make", "--version" ]
|
||||
version-regexp = ".*Make ([\\d\\.]+).*"
|
||||
|
||||
Reference in New Issue
Block a user