Skip to content

Commit

Permalink
Store sami configuration for others to use.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneEveritt committed Mar 19, 2017
1 parent 0312c97 commit c98d1dd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ _ide_helper_models.php
_ide_helper.php

sami.phar
sami.config.php
/sami
/.sami
16 changes: 16 additions & 0 deletions .sami.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

use Sami\Sami;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
->files()
->name('*.php')
->in($dir = __DIR__ . '/app');

return new Sami($iterator, array(
'title' => 'Pterodactyl',
'build_dir' => __DIR__ . '/.sami/build',
'cache_dir' => __DIR__ . '/.sami/cache',
'default_opened_level' => 2,
));

0 comments on commit c98d1dd

Please sign in to comment.