paragonie / halite

High-level cryptography interface powered by libsodium
https://paragonie.com/project/halite
Mozilla Public License 2.0
1.13k stars 85 forks source link

Trying to run the unit test can't find autoload.php #9

Closed defuse closed 9 years ago

defuse commented 9 years ago
PHPUnit 5.0.5 by Sebastian Bergmann and contributors.

Cannot open file "/home/firexware/egits/halite/vendor/autoload.php".
paragonie-scott commented 9 years ago

Try running composer update first.

defuse commented 9 years ago
[firexware@firexware-pc zerocashd]$ composer update
bash: composer: command not found

lol, I guess I'll have to install composer first

defuse commented 9 years ago

I totally ran that in the wrong folder, too. Need break from computer.

paragonie-scott commented 9 years ago

I can create an /autoload.php script and make it provide feedback of vendor/autoload.php is not found (and also whitelist the files that actually exist). It might make it easier for people without composer to use.

paragonie-scott commented 9 years ago

https://github.com/paragonie/halite/commit/ee5e92ee65dfebf26b7d8c559921ce2a5d4cf76c ought to fix it. Please feel free to re-open if it doesn't.

defuse commented 9 years ago

Ah, didn't realize that was a composer thing. +1 for being able to run tests without composer.