Jump to content

Build automation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Geofflane (talk | contribs) at 02:00, 20 September 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Build Automation is the act of scripting or automating the process of turning computer source code into binary code. This Automated Build is in contrast to a manual build process where a person has to perform multiple, often tedious and error prone tasks. It involves automating a wide variety of tasks that a software developer will do in their day-to-day activities including things like packaging binary code, runing tests and deployment to production systems. The goal of this automation is to create a one-step process for turning source code into a working system. This is done to save time and to reduce errors.

Best Practices

  • Keep the build file at the root of the project
  • Use consistent style and conventions
  • Don't Repeat Yourself (DRY)
  • Provide good help (use Ant/NAnt descriptions)
  • Manage dependencies properly
  • Use per-User properties to allow people to override defaults such as database logins or directory locations
  • Keep the build self-contained
  • Keep it all in source control

Build Automation Software

See also