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

Generate phar #17

Open
bomoko opened this issue Jul 8, 2018 · 5 comments
Open

Generate phar #17

bomoko opened this issue Jul 8, 2018 · 5 comments

Comments

@bomoko
Copy link
Contributor

bomoko commented Jul 8, 2018

It seems as though this would be useful to distribute as a single .phar. Thoughts?

@amenk
Copy link

amenk commented Mar 12, 2019

was looking for that as well, is anybody working on this?

@bomoko
Copy link
Contributor Author

bomoko commented Mar 20, 2019

hi @amenk - nobody is working on this right now - I'm having some discussions with the loose "team" of people working on this to figure out the direction of the project.

If it's something that people want (and the fact that you're looking for it suggests it is ...) then we can prioritize it (first, though, I need to test and accept these open PRs ...)

@amenk
Copy link

amenk commented Jun 28, 2019

This works:
composer install

Next:

phive install humbug/box --force-accept-unsigned

Create a box.json

{
  "files": [
    "_bootstrap.php"
  ]
}

Run

tools/box compile

Here is the result:

mysqldump.phar.zip

Would be great if someone can test it a bit.

Next step would be to automate that.

The phar could be uploaded to GitHub releases via API. I have experience to do this with Robo .. would this be a way to go or better create a bash script for releasing?

@amenk
Copy link

amenk commented Jun 28, 2019

Also we should allow the phar to be distributed via phive .. this involves singing it via PGP

@amenk
Copy link

amenk commented Jan 7, 2020

Anybody want's to integrate that in the build process and sign the phar?

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

No branches or pull requests

2 participants