Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistLiberateWorkflow.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Create and update libphutil libraries. | * Create and update libphutil libraries. | ||||
| * | * | ||||
| * This workflow is unusual and involves re-executing 'arc liberate' as a | * This workflow is unusual and involves re-executing 'arc liberate' as a | ||||
| * subprocess with `--remap` and `--verify`. This is because there is no way | * subprocess with `--remap` and `--verify`. This is because there is no way | ||||
| * to unload or reload a library, so every process is stuck with the library | * to unload or reload a library, so every process is stuck with the library | ||||
| * definition it had when it first loaded. This is normally fine, but | * definition it had when it first loaded. This is normally fine, but | ||||
| * problematic in this case because `arc liberate` modifies library definitions. | * problematic in this case because `arc liberate` modifies library definitions. | ||||
| */ | */ | ||||
| final class ArcanistLiberateWorkflow extends ArcanistBaseWorkflow { | final class ArcanistLiberateWorkflow extends ArcanistWorkflow { | ||||
| public function getWorkflowName() { | public function getWorkflowName() { | ||||
| return 'liberate'; | return 'liberate'; | ||||
| } | } | ||||
| public function getCommandSynopses() { | public function getCommandSynopses() { | ||||
| return phutil_console_format(<<<EOTEXT | return phutil_console_format(<<<EOTEXT | ||||
| **liberate** [__path__] | **liberate** [__path__] | ||||
| ▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines | |||||