Closed szepeviktor closed 7 months ago
Are tests failing because we actually need 2 autoloaders??
Are tests failing because we actually need 2 autoloaders??
Could it be that tests are failing a year ago?
@szepeviktor Thanks, that's much nicer.
Yeah, Windows tests have never passed.
I added some code to run the tests first with the classes, and then as the packaged phar.
Very glad to contribute.
Here's why the code was whack before... it was to do with running it from arbitrary directories. E.g. I'm in ~/Sites/my-plugin
and run it from ~/Sites/strauss/bin/strauss
. I had to reorder the paths. And left some comments.
https://github.com/BrianHenryIE/strauss/commit/adff2eae37186d43bc081a0aacc011c5194791e0
All right. The phar distribution is safer.
I hope there is no need to load 2 autoloaders. The original bin had 2
if
-s.This PR introduces a straight-forward and explicit bin.