Added a low-level task for unity_batch_exec
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
2b11b6724b
commit
eebc83e8a7
|
@ -101,6 +101,19 @@ function unity_batch_exec($func, $build_target = "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task('unity_batch_exec', function(array $args)
|
||||||
|
{
|
||||||
|
if(count($args) != 2)
|
||||||
|
{
|
||||||
|
echo "Usage: gamectl unity_batch_exec <method name> <platform>\n";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$func = $args[0];
|
||||||
|
$platform = $args[1];
|
||||||
|
unity_batch_exec($func, $platform);
|
||||||
|
});
|
||||||
|
|
||||||
function unity_run_proc($shared_cmd)
|
function unity_run_proc($shared_cmd)
|
||||||
{
|
{
|
||||||
$app_dir = get('UNITY_APP_DIR');
|
$app_dir = get('UNITY_APP_DIR');
|
||||||
|
|
Loading…
Reference in New Issue