Skip to content

Commit 76d3dc9

Browse files
committed
wip
1 parent 5e073c6 commit 76d3dc9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tree.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public function getTreeForDistPackage(string $directory): string
4343
{
4444
$this->archive->createArchive();
4545

46+
#todo: check os && drop tar --exclude option on darwin
47+
4648
\exec(
4749
'tar --list --exclude="*/*" --file ' . \escapeshellarg($this->archive->getFilename()) . ' | tree -aL 1 --dirsfirst --fromfile . 2>&1',
4850
$output

0 commit comments

Comments
 (0)