自动化每日构建(三)用NAnt来完成.NET工程的每日构建[1]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 samlei 的 blog

过去写的文章,不过是英文的。后面有附带的 project.build 文件,你可以用项目的名称替换调******,并且加上代码更新,单元测试等具体内容,就可以做每日构建了。

 

start a new .net project by using nant

 

this document has 5 sections:

brief

system requirement

directories and files

the build file

run nant

 

 

brief

start a new .net project by using nant, so we can make daily building. all have to do list below:

1.install .net sdk1.0 and new version nant, and make nant works.

2.copy directories and files from nproject(n for .net) template library.

3.make project files stay in the right directory.

4.edit the project.build file. let it fit the project.

5.run nant.

 

 

system requirement

.net sdk1.0 or higher

nant 0.84 or higher

 

directories and files

you can make directories yourself, or copy from template. but make sure the directory tree like this:

every directory is made for a certain kind of files. directory names and what kind of files should be put in list below:

directory        files should be put in

            build                building files

            data                 project’s data files

            doc                  project‘s documents for installation and deploying

            lib                   libraries project depending on

            res                  resources project using

本文关键:自动化每日构建(三)用NAnt来完成.NET工程的每日构建
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top