-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsami.cfg
More file actions
26 lines (22 loc) · 789 Bytes
/
sami.cfg
File metadata and controls
26 lines (22 loc) · 789 Bytes
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
<?php
use Sami\Sami;
use Symfony\Component\Finder\Finder;
use Sami\RemoteRepository\GitHubRemoteRepository;
return new Sami(
// Files.
Finder::create()
->files()->name('/\.php$/ui')
->notPath('/^vendor\//ui')
->in(__DIR__.'/src'),
// Configuration.
[
'theme' => 'websharks',
'title' => 'WebSharks Core',
'build_dir' => __DIR__.'/.~build/codex',
'cache_dir' => __DIR__.'/.~build/.~/sami/cache',
'favicon' => 'https://websharks.org/favicon.ico',
'icon' => 'https://websharks.org/wp-content/uploads/2016/07/icon.png',
'remote_repository' => new GitHubRemoteRepository('websharks/core', __DIR__),
]
);
// `$ sami update --force sami.cfg`