ok... from the Makefile I could use:

python -c 'import compileall;
compileall.compile_dir("applications/myapplication")'

to build it.

will it run the unit tests too ?

if yes, how do I know how many tests have failed ?

thanks





On Mon, Jun 8, 2009 at 10:20 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:

>
> What Hans suggests is the simplest thing. It boils down to
>
> cd applications/yourapp
> tar zcvf ../../web2py.app.youapp.w2p *
>
> there is nothing more to it.
>
> On Jun 8, 4:10 pm, Hans Donner <hans.don...@pobox.com> wrote:
> > you might have a look at the current makefile for web2py, there you
> > can see how the current w2p files are generated.
> >
> > On Mon, Jun 8, 2009 at 9:21 PM, Sebastian E.
> >
> > Ovide<sebastianov...@gmail.com> wrote:
> > > Hi Massimo,
> >
> > > I was wondering if there is an easy way to compile and package an
> > > application from command line. The question arise from the need to
> integrate
> > > a web2py project in an automated build system. It builds every night,
> run
> > > tests, and if there are not errors it deploys in the DEV environment.
> >
> > > thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to