forked from publishpress/PublishPress-Authors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RoboFile.php
43 lines (39 loc) · 1.62 KB
/
RoboFile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
use PublishPressBuilder\PackageBuilderTasks;
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends PackageBuilderTasks
{
public function __construct()
{
parent::__construct();
$this->appendToFileToIgnore(
[
'webpack.config.js',
'legacy-tests',
'phpcs.xml',
'src/assets/lib/chosen-v1.8.3/docsupport',
'src/assets/lib/chosen-v1.8.3/bower.json',
'src/assets/lib/chosen-v1.8.3/create-example.jquery.html',
'src/assets/lib/chosen-v1.8.3/create-example.proto.html',
'src/assets/lib/chosen-v1.8.3/index.proto.html',
'src/assets/lib/chosen-v1.8.3/options.html',
'src/assets/lib/chosen-v1.8.3/package.json',
'vendor/pimple/pimple/.gitignore',
'vendor/pimple/pimple/.php_cs.dist',
'vendor/psr/container/.gitignore',
'vendor/publishpress/wordpress-reviews/phpcs.xml.dist',
'vendor/publishpress/wordpress-version-notices/.gitignore',
'vendor/publishpress/wordpress-version-notices/README.md',
'vendor/publishpress/wordpress-version-notices/bin',
'vendor/publishpress/wordpress-version-notices/codeception.dist.yml',
'vendor/publishpress/wordpress-version-notices/codeception.yml',
'vendor/publishpress/wordpress-version-notices/tests',
]
);
$this->setVersionConstantName('PP_AUTHORS_VERSION');
}
}