Skip to content

prudloff-insite/robo-composer-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robo Composer script tasks

This packages contains Robo tasks that allows you to run custom Composer scripts and composer exec.

Script task

You can use it like this:

/** @var \RoboComposerScript\ComposerScriptTask $composerTask */
$composerTask = $this->taskComposerScript();
$composerTask->arg('myscript')
  ->scriptOption('option');
$composerTask->run();

This will run:

composer run-script myscript --ansi -- --option

Exec task

You can use it like this:

/** @var \RoboComposerScript\ComposerExecTask $composerTask */
$composerTask = $this->taskComposerExec();
$composerTask->arg('mycommand');
$composerTask->run();

This will run:

composer exec mycommand --ansi

About

Robo task that runs custom Composer scripts

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages