mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
✨ Load extension info for all PHP versions
In order to make this possible, I've added a new `sync()` method to the Shellable protocol, which now should allow us to run shell commands synchronously. Back to basics, as this was how *all* commands were run in legacy versions of PHP Monitor. The advantage here is that there is now a choice. Previously, you'd have to use the `system()` helper that I added. Usage of that helper is now discouraged, as is the synchronous shell method, but it may be useful for some methods where waiting for the outcome of the output is required. (Important: the `system()` helper is still required when determining what the preferred terminal is during the initialization of the `Paths` class.)
This commit is contained in:
@ -1213,6 +1213,8 @@
|
||||
033D459C2B0D506B00070080 /* PHP Versions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C43BCD4329FBEF40001547BC /* ModifyPhpVersionCommand.swift */,
|
||||
C4B79ECA29CA475900A483EE /* RemovePhpVersionCommand.swift */,
|
||||
);
|
||||
path = "PHP Versions";
|
||||
sourceTree = "<group>";
|
||||
@ -1667,6 +1669,15 @@
|
||||
path = phpmon;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C4513F8D2B13CD08001AD760 /* PHP Extensions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
033D45972B0D4EC600070080 /* InstallPhpExtensionCommand.swift */,
|
||||
033D459D2B0D513900070080 /* RemovePhpExtensionCommand.swift */,
|
||||
);
|
||||
path = "PHP Extensions";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
C456A0D02AA6175D0080144F /* Config */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -1961,12 +1972,9 @@
|
||||
C4B79EBA29CA38D100A483EE /* Commands */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C4513F8D2B13CD08001AD760 /* PHP Extensions */,
|
||||
033D459C2B0D506B00070080 /* PHP Versions */,
|
||||
C4B79EBB29CA38DB00A483EE /* BrewCommand.swift */,
|
||||
C43BCD4329FBEF40001547BC /* ModifyPhpVersionCommand.swift */,
|
||||
C4B79ECA29CA475900A483EE /* RemovePhpVersionCommand.swift */,
|
||||
033D45972B0D4EC600070080 /* InstallPhpExtensionCommand.swift */,
|
||||
033D459D2B0D513900070080 /* RemovePhpExtensionCommand.swift */,
|
||||
);
|
||||
path = Commands;
|
||||
sourceTree = "<group>";
|
||||
|
Reference in New Issue
Block a user