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

Additionally provide library-only PHAR #1925

Closed
sebastianbergmann opened this issue Oct 22, 2015 · 9 comments
Closed

Additionally provide library-only PHAR #1925

sebastianbergmann opened this issue Oct 22, 2015 · 9 comments

Comments

@sebastianbergmann
Copy link
Owner

  • Without #!/usr/bin/env php at the top
  • Without the code that sets up $execute
  • Without the code that is executed when $execute is true
  • With require_once instead of require
@llaville
Copy link

Have tried to build it on my windows platform. Sorry it's not yet portable

phar-prepare:
    [mkdir] Created dir: C:\home\github\phpunit\build\phar
     [copy] Copying 1 file to C:\home\github\phpunit
     [exec] ./composer.json has been updated
     [exec] Loading composer repositories with package information
     [exec] Updating dependencies (including require-dev)
     [exec] Your requirements could not be resolved to an installable set of packages.
     [exec]
     [exec]   Problem 1
     [exec]     - phpunit/php-invoker 1.1.4 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
     [exec]     - phpunit/php-invoker 1.1.3 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
     [exec]     - phpunit/php-invoker 1.1.2 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
     [exec]     - phpunit/php-invoker 1.1.1 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
     [exec]     - Installation request for phpunit/php-invoker ~1.1 -> satisfiable by phpunit/php-invoker[1.1.1, 1.1.2,
1.1.3, 1.1.4].
     [exec]
     [exec]
     [exec] Installation failed, reverting ./composer.json to its original content.
     [exec] Result: 2

@sebastianbergmann
Copy link
Owner Author

Give me an email address and I'll send you a snapshot?

@llaville
Copy link

pear [at] laurent-laville [dot] org

@llaville
Copy link

phpunit-library-4.8.15-5-g48d2190.phar is just fine for me, and Phing PHPUnitTask run ok
Thanks

@sebastianbergmann
Copy link
Owner Author

The library-only PHAR is now available at https://phar.phpunit.de/phpunit-library.phar.

@llaville
Copy link

Cool :-), Thanks again !

@vlakoff
Copy link

vlakoff commented Nov 4, 2015

I don't know if it is related to these changes, but phpunit.de still points to the previous version 4.8.15.

Direct link: https://phar.phpunit.de/phpunit-old.phar

@sebastianbergmann
Copy link
Owner Author

@vlakoff Sorry but I have idea what you are trying to tell me.

@vlakoff
Copy link

vlakoff commented Nov 4, 2015

Using the above link a few hours ago, I got version 4.8.15 instead of 4.8.16 (With fresh browser cache). So I though of some outdated build script.

Just tried again and got 4.8.16, so... No idea. Maybe some stale mirror server in the wild.

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

3 participants