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:
Alejandro R Mosteo
2020-09-08 19:15:26 +02:00
committed by GitHub
parent 307e530396
commit 408bf8e9cf
+6 -2
View File
@@ -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\\.]+).*"