This commit is contained in:
Easy
2023-02-04 17:31:24 +08:00
parent ddbf3a3b10
commit ab4a36126c
2 changed files with 21 additions and 1 deletions

14
RoboFile.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see https://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
// define public methods as commands
public function publish()
{
$this->_exec("yarn build && yarn package && git add . && git commit -m 'publish' && git push ");
}
}