You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
PHP's Phar class sadly requires that the output file name's extension must be .phar. Hence, the output directive for box2 will always need to be named *.phar. However, I always like to rename my executable Phar archives to just the basename. I use composer not composer.phar, and box build not box.phar build, etc. Clearly I can rename my output many different ways (command line, Makefile, Composer script, etc.), but I'd really love to have a self-contained process where box can rename myapp.phar to myapp before exiting.
The text was updated successfully, but these errors were encountered:
PHP's
Phar
class sadly requires that the output file name's extension must be.phar
. Hence, theoutput
directive for box2 will always need to be named*.phar
. However, I always like to rename my executable Phar archives to just the basename. I usecomposer
notcomposer.phar
, andbox build
notbox.phar build
, etc. Clearly I can rename my output many different ways (command line, Makefile, Composer script, etc.), but I'd really love to have a self-contained process wherebox
can renamemyapp.phar
tomyapp
before exiting.The text was updated successfully, but these errors were encountered: