umpirsky / centipede

:sparkler: The Simplest automated testing tool on Earth.
MIT License
141 stars 15 forks source link

Phar support? #15

Open pyrech opened 9 years ago

pyrech commented 9 years ago

Do you plan to provide a phar archive? Could be interesting to use it globally instead of requiring centipede in the project ;)

umpirsky commented 9 years ago

We can consider this. Thanks for nice suggestion @pyrech. :+1:

clue commented 9 years ago

FWIW:

Getting this project to run as a single phar via phar-composer is as easy as running this:

$ cd centipede
$ phar-composer build .

# build from git URLs
$ phar-composer build https://github.com/umpirsky/centipede.git

# once it's registered with Packagist and has some tags:
$ phar-composer build umpirsky/centipede:1.2.0

If you want more control over the phar building process, I'd recommend using the box project with its dedicated box.json configuration.

(I'm currently unable to execute this project at all (#19), the same error will manifest in the phar)

Pierstoval commented 9 years ago

I'd personally recommend using Box , because the Symfony installer already uses it for instance,

umpirsky commented 9 years ago

Thanks for sharing @clue. This is something that we should do in the near future.