umpirsky / Twig-Gettext-Extractor

The Twig Gettext Extractor is Poedit friendly tool which extracts translations from twig templates.
MIT License
113 stars 32 forks source link

Provide a phar in the releases section #30

Closed MazeChaZer closed 8 years ago

MazeChaZer commented 8 years ago

I think it would be very handy to have a standalone phar available for this tool. I found it was very easy to create a phar of this project using clue/phar-composer. Just

$ wget https://github.com/clue/phar-composer/releases/download/v1.0.0/phar-composer.phar
$ php phar-composer.phar build umpirsky/twig-gettext-extractor:1.2.0

Note that the phar and openssl extensions have to be enabled in php.ini.

Edit: It's probably a good idea to include the version number in the build command

umpirsky commented 8 years ago

@MazeChaZer Thanks for your idea. I have good experience with Box. I already use it for https://github.com/umpirsky/Symfony-Upgrade-Fixer. Works very well.

Might do same for this project.

MazeChaZer commented 8 years ago

Sounds great!