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

Compare with Current View Page History

Version 1 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

      

BuildArea

  • core - just the core lucene projects.
  • contrib - all the contrib projects.
  • all - both core and contrib.

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