1 | <?php |
||
12 | class Gulp extends Commands\Command |
||
13 | { |
||
14 | |||
15 | private $gulpfile = 'gulpfile.js'; |
||
16 | |||
17 | private $directory; |
||
18 | |||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | 1 | public function getGulpfile() |
|
27 | |||
28 | |||
29 | /** |
||
30 | * @param string $gulpfile |
||
31 | */ |
||
32 | 1 | public function setGulpfile($gulpfile) |
|
36 | |||
37 | |||
38 | /** |
||
39 | * Returns working directory. |
||
40 | * @return string |
||
41 | */ |
||
42 | 1 | public function getDirectory() |
|
46 | |||
47 | |||
48 | /** |
||
49 | * Sets working directory. System will switch to this directory before running gulp. |
||
50 | * @param string $directory |
||
51 | */ |
||
52 | 1 | public function setDirectory($directory) |
|
56 | |||
57 | |||
58 | 1 | public function execute($gulpCommand = NULL) |
|
74 | |||
75 | } |