Created
July 10, 2013 08:34
-
-
Save bramstroker/5964487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[09:43] <bramstroker> Hi, does composer provide some option to use 'prefer-source' for a particular package and 'prefer-dist' for all other packages? | |
[09:45] <bramstroker> My question arrises because I want to subclass Zend Framework 2 classes in my own testsuite, but the tests directory is ignored for export (ignore-export in .gitattributes). | |
[09:46] <bramstroker> prefer-source for all packages is not really an option because I don't need all the VCS overhead on my build server and composer install will take like 15 minutes. | |
[09:55] <ocramius> bramstroker: you shouldn't import classes from the zf2 test suite, they're not reusable code | |
[09:58] <bramstroker> @ocramius, I've created my own cache storage adapter and ZF2 provides a CommonAdapterTest, so it seems common sense to me to extend from it instead of duplicating the code into my own library. | |
[09:59] <ocramius> bramstroker: yes, but the test suite is not stable | |
[10:01] <bramstroker> ocramius: ok. that's a good argument. | |
[10:01] <bramstroker> So only option left for me is to duplicate the CommonAdapterTest into my own codebase? | |
[10:03] <ocramius> I think so | |
[10:04] <ocramius> you can also ping mabe and ask for a solution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment