Re: @foo@ / templates / sub packages
| From: | Helgi Þormar Þorbjörnsson | Date: | Mon, 05 May 2008 12:36:06 +0000 |
| Subject: | Re: @foo@ / templates / sub packages | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50009@lists.php.net to get a copy of this message | ||
Hi,
On Mon, May 5, 2008 at 7:04 AM, Christian Weiske <cweiske@cweiske.de> wrote:
> Hello Helgi,
>
>
>
> > A package then yes I think data dir is the proper place
> > and tests
> > are
> > suppose to run with the package installed, I find it a bit silly when
> > people do some tricks to make unit tests and such work straight from a
> > checkout.
>
> Why is that silly? I find that convenient. When developing the package
> or fixing bugs, you only do
> > php tests/AllTests.php
> versus
> > pear package && pear install package*.tgz && pear run-tests -p
> > PackageName
>
> I prefer the first.
Because you can do pear upgrade -f package.xml you don't have to
package it up first; Doing this constantly has thwarted some problems
in my packages compared to the local running approach;
Just my exprience
- Helgi