Recursive Rake

T

Tanner Burson

------=_Part_7337_21191779.1133885672410
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello all,

I'm working on a very large set of build tasks for several .NET projects.
I've come up with a fairly simple rake script that with slight modification
(differing includes, resources, output type, etc) is able to build any of
the projects individually.

The problem is that I'm now to the point of building the larger outer
project, which will in turn need to build several of the inner library
projects. I'm unsure of the best way with Rake to handle this.

I know that with Make you could effectively recurse the directories, each
having their own make files and use those to build the individual
dependencies. I could simulate this behavior in Rake, but I'm not sure it'=
s
neccessarily the best way. I'd also wondered about including the rakefile
from the inner projects and just use the tasks from those in the outer
file. A

nyone who has experience with this, or just ideas on how to handle this, I
would appreciate comments. Thanks!

--
=3D=3D=3DTanner Burson=3D=3D=3D
(e-mail address removed)
http://tannerburson.com <---Might even work one day...

------=_Part_7337_21191779.1133885672410--
 
R

rubikitch

From: Tanner Burson <[email protected]>
Subject: Recursive Rake
Date: Wed, 7 Dec 2005 01:14:39 +0900

Hi,

I use Rake to make HTMLs from RDs, to upload a package to the server,
to do unit tests, to announce a new version of package to ML, and so
on. I have my original Rake task libraries for common use and
`require' the Rake library.

neccessarily the best way. I'd also wondered about including the rakefile
from the inner projects and just use the tasks from those in the outer
Simply `load' the inner rakefile to include another rakefile.
 
J

Jim Weirich

tanner.burson said:
Hello all,

I'm working on a very large set of build tasks for several .NET
projects.
I've come up with a fairly simple rake script that with slight
modification
(differing includes, resources, output type, etc) is able to build any
of
the projects individually.

The problem is that I'm now to the point of building the larger outer
project, which will in turn need to build several of the inner library
projects. I'm unsure of the best way with Rake to handle this.

There was a recent discussion about this on the Rake mailing list.
Different folks approached it in different ways. In particular, one
person in that thread supports a HUGE build system using Rake. See
http://rubyforge.org/pipermail/rake-devel/2005-December/thread.html for
details.

-- Jim Weirich
 
T

Tanner Burson

------=_Part_10826_7316895.1133899563805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

There was a recent discussion about this on the Rake mailing list.
Different folks approached it in different ways. In particular, one
person in that thread supports a HUGE build system using Rake. See
http://rubyforge.org/pipermail/rake-devel/2005-December/thread.html for
details.


Thanks for the information Jim. I would definitely like to see more
information regarding your change for loading the entire dependency graph i=
n
at once, as that's more or less what I'd like to do.

-- Jim Weirich

--
=3D=3D=3DTanner Burson=3D=3D=3D
(e-mail address removed)
http://tannerburson.com <---Might even work one day...

------=_Part_10826_7316895.1133899563805--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,078
Latest member
MakersCBDBlood

Latest Threads

Top