Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude Tests files in PHAR archive #2433

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Nov 15, 2023

Excluding the test code reduces the file size of the archive slightly.

% ls -la build/*.phar
-rwxr-xr-x  1 megurine  staff  5214175 11 16 00:02 build/before.phar
-rwxr-xr-x  1 megurine  staff  4551252 11 16 00:03 build/after.phar

% ls -lah build/*.phar
-rwxr-xr-x  1 megurine  staff   5.0M 11 16 00:02 build/before.phar
-rwxr-xr-x  1 megurine  staff   4.3M 11 16 00:03 build/after.phar

See the Gist below for a list of files included in the archive:
https://gist.github.com/zonuexe/f378b2d966f2c4c3497af1343451ecaf#file-diff-patch

@dantleech dantleech merged commit 4f7e939 into phpactor:master Nov 15, 2023
10 checks passed
@dantleech
Copy link
Collaborator

thanks!

@zonuexe zonuexe deleted the fix/box-ignore-tests branch November 15, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants