10000 feat: include symlinked composer packages · NativePHP/electron@6f6fd36 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f6fd36

Browse files
committed
feat: include symlinked composer packages
1 parent a85d895 commit 6f6fd36

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Commands/BundleCommand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function checkComposerJson(): bool
178178
// // }
179179
// }
180180

181-
// Remove repositories with type path
181+
// Remove repositories with type path, we include symlinked packages
182182
if (! empty($composerJson['repositories'])) {
183183

184184
$this->newLine();
@@ -192,10 +192,10 @@ private function checkComposerJson(): bool
192192
file_put_contents($this->buildPath('composer.json'),
193193
json_encode($composerJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
194194

195-
Process::path($this->buildPath())
196-
->run('composer update --no-dev', function (string $type, string $output) {
197-
echo $output;
198-
});
195+
// Process::path($this->buildPath())
196+
// ->run('composer install --no-dev', function (string $type, string $output) {
197+
// echo $output;
198+
// });
199199
}
200200

201201
}
@@ -221,7 +221,7 @@ private function addFilesToZip(ZipArchive $zip): void
221221
intro('Creating zip archive…');
222222

223223
$finder = (new Finder)->files()
224-
// ->followLinks()
224+
->followLinks()
225225
// ->ignoreVCSIgnored(true) // TODO: Make our own list of ignored files
226226
->in($this->buildPath())
227227
->exclude([

src/Commands/ResetCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function handle(): int
5050
$appName = $this->setAppName($developmentMode);
5151

5252
// Eh, just in case, I don't want to delete all user data by accident.
53-
if ( ! empty($appName)) {
53+
if (! empty($appName)) {
5454
$appDataPath = $this->appDataDirectory( 4219 $appName);
5555
$this->line('Clearing: '.$appDataPath);
5656

0 commit comments

Comments
 (0)
0