Re: Image_Text mess in CVS
| From: | Stefan Neufeind | Date: | Wed, 12 Nov 2003 16:36:05 +0000 |
| Subject: | Re: Image_Text mess in CVS | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23542@lists.php.net to get a copy of this message | ||
On 12 Nov 2003 at 12:29, Michael Bretterklieber wrote:
> On Wed, 12 Nov 2003, Tobias Schlitt wrote:
> >
> > > The brilliant solution: do not develop in CVS checkout dir. Create
> > > a dir mimicking PEAR installation structure and develop in this.
> >
> > > Personally I only copy files to checkout dir when I want to commit
> > > them.
> >
> > That's not the intention of CVS anyway. And in my opinion pretty
> > annoying and uncomfortable.
> right!
>
> how about adding something like this at the top of your test-scripts:
>
> if ($argv[1] == 'pearcvs') {
> ini_set('include_path', '..:' . ini_get('include_path'));
> require_once 'CHAP.php';
> } else {
> require_once 'Crypt/CHAP.php';
> }
>
> that's the way I do it.
Yeah, that works. But I don't think that something like this belongs
in the examples you distribute with your package.
Stefan