Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

Commit 2757341

Browse files
committed
Restructured repo to work as it's own project
1 parent 95c4067 commit 2757341

20 files changed

+8
-24
lines changed

.gitignore

+4-19
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
11
/vendor
2-
/node_modules
3-
Homestead.yaml
4-
.env
52
.idea
6-
npm-debug.log
7-
yarn-error.log
8-
/public/dist
9-
/public/plugins
10-
/public/css
11-
/public/js
12-
/public/bower
13-
/public/build/
14-
/public/favicon.ico
15-
/storage/images
16-
_ide_helper.php
17-
/storage/debugbar
3+
*.zip
184
.phpstorm.meta.php
19-
yarn.lock
205
/bin
216
nbproject
227
.buildpath
238
.project
249
.settings/
25-
webpack-stats.json
2610
.phpunit.result.cache
2711
.DS_Store
28-
phpstan.neon
29-
/composer
12+
/composer
13+
*.phar
14+
/bookstack-system-cli

scripts/compile.php renamed to compile.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
$phar->startBuffering();
2626

2727
// Create the default stub from main.php entrypoint
28-
$defaultStub = $phar->createDefaultStub('run');
28+
$defaultStub = $phar->createDefaultStub('run.php');
2929

3030
// Add the rest of the apps files
31-
$phar->addFile(__DIR__ . '/run', 'run');
31+
$phar->addFile(__DIR__ . '/run.php', 'run.php');
32+
$phar->buildFromDirectory(__DIR__, '/src(.*)/');
3233
$phar->buildFromDirectory(__DIR__, '/vendor(.*)/');
33-
$phar->buildFromDirectory(__DIR__, '/Commands(.*)/');
3434

3535
// Customize the stub to add the shebang
3636
$stub = "#!/usr/bin/env php \n" . $defaultStub;

scripts/composer.json renamed to composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
},
77
"autoload": {
88
"psr-4": {
9-
"Cli\\Commands\\": "Commands/",
10-
"Cli\\Services\\": "Services/"
9+
"Cli\\": "src/"
1110
}
1211
},
1312
"config": {
File renamed without changes.

scripts/run renamed to run.php

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)