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

Build a .phar version #63

Closed
wants to merge 2 commits into from
Closed

Build a .phar version #63

wants to merge 2 commits into from

Conversation

welcoMattic
Copy link
Contributor

Ref #54

This PR brings a standalone version of JoliTypo, packaged in a .phar file

@welcoMattic welcoMattic force-pushed the phar-version branch 2 times, most recently from 0351c5a to a6d46cf Compare August 30, 2021 15:14
box.json Outdated Show resolved Hide resolved
jolitypo Outdated Show resolved Hide resolved
if (is_dir($path)) {
$finder = new Finder();

foreach ($finder->path($path)->depth($depth)->files() as $file) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not work

  1. missing call to in() methods
  2. the depth is missleading: it required file to be at an exact depth of 1 :/ so if you give a dir by default file a depth = 0 are not processed.

@lyrixx
Copy link
Member

lyrixx commented Aug 30, 2021

superseeded by #64

@lyrixx lyrixx closed this Aug 30, 2021
@lyrixx lyrixx deleted the phar-version branch August 30, 2021 17:45
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.

2 participants