You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

build.cmd arguments

here some sample usage of the build.cmd file

$ build [targets=simple] [buildarea=all] [configuration=release]
$ build
$ build commit all release
$ build simple core
$ build commit all debug

      

Build Area

the configuration property is called Area. /p:Area=all

  • all - Everything that is to be released.
  • analyzers - The Contrib.Analyzers project.
  • contrib - The Contrib projects, minus the Lucene.Net project.
  • contrib-core - The Contrib.Core project
  • core - The core Lucene.Net project.
  • fastvectorhighlighter - The Contrib.FastVectorHighlighter project.
  • highlighter - The Contrib.Highlighter project.
  • queries - The Contrib.Queries project.
  • regex - The Contrib.Regex project.
  • similarity - The Contrib.Similarity project.
  • simplefacetedsearch - The Contrib.SimpleFacetedSearch project.
  • snowball - The Contrib.Snowball project.
  • spatial - The Contrib.Spatial project.

Configuration

  • release - configures to build the projects in "Release" mode
  • debug - cogfigures to build the projects in "Debug" mode

Common Build Targets On Windows

  • clean - cleans specified files & directories.
  • build - builds the specified projects.
  • test - uses gallio & nunit to run the tests.
  • test-report-html - uses gallio & nunit to build html test reports.
  • test-report-xml - uses gallio & nunit to build xml test reports.
  • coverage - will use ncover3, if installed, to build code coverage reports.
  • document - will build documentation, if sandcastle is installed.
  • rules - will use analyze rules against code, if fxcop is installed.
  • simple - calls the targets: build;copy-release
  • commit - calls the targets: clean;build;test-report-html;rules;coverage;document;copy-release
  • nightly - same as commit right now

Common Build Targets On Mono

  • TODO: get working
  • No labels