Skip to content

Commit c977676

Browse files
Added sami config
1 parent b69679d commit c977676

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
composer.lock
22
phpunit.xml
3+
sami
34
vendor

sami.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
));

0 commit comments

Comments
 (0)