mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
ddf5412cbb
Summary: Currently, it is a bit tricky to build the Aphlict client SWF from the ActionScript source. Provide a `./bin/aphlict build` workflow that simplifies this process. Depends on D9226. Test Plan: Executed the workflow: ``` > ./bin/aphlict build Done. ``` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9338
27 lines
820 B
PHP
Executable file
27 lines
820 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
$root = dirname(dirname(dirname(dirname(__FILE__))));
|
|
require_once $root.'/scripts/__init_script__.php';
|
|
|
|
PhabricatorAphlictManagementWorkflow::requireExtensions();
|
|
|
|
$args = new PhutilArgumentParser($argv);
|
|
$args->setTagline('manage Aphlict notification server');
|
|
$args->setSynopsis(<<<EOSYNOPSIS
|
|
**aphlict** __command__ [__options__]
|
|
Manage the Aphlict server.
|
|
|
|
EOSYNOPSIS
|
|
);
|
|
$args->parseStandardArguments();
|
|
|
|
$args->parseWorkflows(array(
|
|
new PhabricatorAphlictManagementStatusWorkflow(),
|
|
new PhabricatorAphlictManagementStartWorkflow(),
|
|
new PhabricatorAphlictManagementStopWorkflow(),
|
|
new PhabricatorAphlictManagementRestartWorkflow(),
|
|
new PhabricatorAphlictManagementDebugWorkflow(),
|
|
new PhabricatorAphlictManagementBuildWorkflow(),
|
|
new PhutilHelpArgumentWorkflow(),
|
|
));
|