buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Petrovic <mspetro...@gmail.com>
Subject Re: Playing with project paths
Date Wed, 08 Sep 2010 14:59:40 GMT
Does this not work?

For 

root/
  buildfile
  subproj1
  subproj2
  subdir/
     subproj3
     subproj4


desc 'top'
define 'top' do

  desc '1'
  define 'subproj1' do
  end

  desc '2'
  define 'subproj2' do
  end

  desc 's'
  define 'subdir' do
    desc '3'
    define 'subproj3' do
    end

    desc '4'
    define 'subproj4' do
    end
  end

end

$  buildr help:projects
(in /Users/petrovic/tmp/TestProject, development)
  top                  # top
  top:subdir           # s
  top:subdir:subproj3  # 3
  top:subdir:subproj4  # 4
  top:subproj1         # 1
  top:subproj2         # 2



On Sep 7, 2010, at 9:39 PM, Travis Jensen wrote:

> I want to have a project structure that looks something like this:
> 
> r§
> 
> How do I tell my buildfile to look in subdir for subproj3 and subproj4?
> 
> Thanks.
> 
> tj
> 
> *Travis Jensen*
> ***
> *Read the Software Maven @ http://softwaremaven.innerbrane.com/
> Read my LinkedIn profile @ http://www.linkedin.com/in/travisjensen
> Read my Twitter mumblings @ http://twitter.com/SoftwareMaven
> Send me email @ travis.jensen@gmail.com
> 
> **What kind of guy calls himself the Software Maven???**


--
Mark Petrovic



Mime
View raw message