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 <[email protected]> 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 <[email protected]> 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<[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---