File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 55/.gitignore export-ignore
66/.travis.yml export-ignore
77/phpunit.xml.dist export-ignore
8+ /sami.php export-ignore
89/CONTRIBUTING.md export-ignore
910/README.md export-ignore
Original file line number Diff line number Diff line change 11composer.lock
22phpunit.xml
3+ sami
34vendor
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ use Sami \Sami ;
4+ use Sami \RemoteRepository \GitHubRemoteRepository ;
5+ use Sami \Version \GitVersionCollection ;
6+ use Symfony \Component \Finder \Finder ;
7+
8+ $ iterator = Finder::create ()
9+ ->files ()
10+ ->name ('*.php ' )
11+ ->exclude ('tests ' )
12+ ->exclude ('sami ' )
13+ ->exclude ('vendor ' )
14+ ->in (__DIR__ )
15+ ;
16+
17+ return new Sami ($ iterator , array (
18+ 'title ' => 'Bitbucket API Client ' ,
19+ 'build_dir ' => __DIR__ .'/sami/build ' ,
20+ 'cache_dir ' => __DIR__ .'/sami/cache ' ,
21+ 'remote_repository ' => new GitHubRemoteRepository ('BitbucketAPI/Client ' , __DIR__ ),
22+ 'default_opened_level ' => 2 ,
23+ ));
You can’t perform that action at this time.
0 commit comments