Skip to content

Commit

Permalink
+ update goal
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Oct 26, 2015
1 parent 373d0ba commit 68fb235
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/goals/UpdateGoal.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

/*
* HiDev - integrate your development
*
* @link https://hidev.me/
* @package hidev
* @license BSD-3-Clause
* @copyright Copyright (c) 2014-2015, HiQDev (https://hiqdev.com/)
*/

namespace hidev\goals;

/**
* Update goal.
*/
class UpdateGoal extends DefaultGoal
{
public function actionPerform()
{
exec('cd .hidev;composer update --prefer-source');
}
}

0 comments on commit 68fb235

Please sign in to comment.