My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 26, 2007 by neoeinstein
Labels: Phase-Requirements, Featured
BooDooExample  
An example BooDoo file

Introduction

This is the example syntax that is expected to appear in the product. This information is under construction and may be subject to change.

Example

This is a modified extract from the Boo default.build file converted to the example syntax.

import System.IO

Project boo:
    Default core
    Include 'build.properties' if File.Exists('build.properties')
    
    boo_major_minor_release_version = '0.7.8'
    boo_svn_revision = '2623'
    boo_version = boo_major_minor_release_version + '.' + boo.svn.revision
    boo_assembly_version = '2.0.0.0'
    
    debug = true
    optimize = false
    verbose = false
    
    Target core(Boo.Lang, Boo.Lang.Compiler, Boo.Lang.Parser):
        pass
    
    Target Boo.Lang(resources):
        csc("Boo.Lang.dll",
            Target = csc.Target.Library,
            Debug = debug,
            Optimize = optimize):
                Sources "src/Boo.Lang":
                    "**/*.cs"
                Resources build_dir:
                    "**/strings.resources"
                    "**/strings.*.resources"
                    # Forget the Italians for this build
                    !"*.it.resources" unless lang_italian

Sign in to add a comment
Hosted by Google Code