Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

<booc>

Compiles boo programs.

Parameters

target

Output type, one of library, exe, winexe. Optional. Default: exe.

output

The output assembly. Required.

pipeline

AssemblyQualifiedName for the CompilerPipeline type to use. Optional.

tracelevel

Enables compiler tracing, useful for debugging the compiler, one of: Off, Error, Warning, Info, Verbose. Optional. Default: Off.

Nested elements

<sources>: source files.

<references>: assembly references.

<resources>: embedded resources.

Examples

Compiling a library

Code Block
XML
XML
<booc target="library"
         output="build/StyleChecker.dll">
   <sources basedir=".">
      <includes name="StyleChecker.boo" />
   </sources>
</booc>

Using a different pipeline

Code Block
XML
XML
<booc target="exe"
         output="build/Example.exe"
         pipeline="StyleChecker.StyleCheckerPipeline, StyleChecker">
   <sources basedir=".">
      <includes name="Example.boo" />
   </sources>
</booc>

Tracing

Code Block
XML
XML
<booc
         target="exe"
         output="build/booi.exe"
         tracelevel="Verbose"
         verbose="true">
   <sources basedir="src/booi">
      <include name="*.boo" />
   </sources>
</booc>

<boo>

Runs embedded boo programs.

Parameters

None.

Nested elements

None.