carlosbuenosvinos / compify

Compify is a tool to save disk usage and bandwith in your composer vendor folder. Maybe you haven't noticed, but if you take a look to your vendor folder after doing a "php composer.phar install" there are so much useless information like tests, ".travis.yml" like files that you just don't need in production.
MIT License
34 stars 1 forks source link

exception while crushing #1

Open Mparaiso opened 11 years ago

Mparaiso commented 11 years ago

Hi , i'm crushing a symfony app vendor folder , i'm getting the following error ( with -v activated ) :


rm -rf vendor/twig/extensions/VERSION
for i in `find $path -name '.git'`; do rm -rf \$i; done

  [RuntimeException]
  i était inattendu.

Exception trace:
 () at phar://C:/Bin/compify.phar/src/CarlosIO/Compify/Command/CrushCommand.php:110
 CarlosIO\Compify\Command\CrushCommand->crushPackages() at phar://C:/Bin/compify.phar/src/CarlosIO/Compify/Command/CrushCommand.php:62
 CarlosIO\Compify\Command\CrushCommand->execute() at phar://C:/Bin/compify.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:238
 Symfony\Component\Console\Command\Command->run() at phar://C:/Bin/compify.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:192
 Symfony\Component\Console\Application->doRun() at phar://C:/Bin/compify.phar/src/CarlosIO/Compify/Console/Application.php:47
 CarlosIO\Compify\Console\Application->doRun() at phar://C:/Bin/compify.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:105
 Symfony\Component\Console\Application->run() at phar://C:/Bin/compify.phar/bin/compify:8
 require() at C:\Bin\compify.phar:14

crush [vendor-path]

Any help appreciated. ( system windows 7 , php 5.4 ) ;

carlosbuenosvinos commented 11 years ago

Compify does not support windows for now