我们有很多Nant脚本来编译.NET代码。这些构建需要5-10分钟才能完成,我想找到一种方法来加速它们的运行。
我们的Nant脚本大致如下:
我们的Nant脚本大致如下:
<target name="compile.XYZ" description="Compiles the source code">
<msbuild project="${src.dir}\XYZ.sln" verbosity="${build.verbosity}">
<property name="Configuration" value="${build.config}" />
<property name="OutputPath" value="${build.fullpath}/${prefix.xyz}" />
<property name="ReferencePath" value="${assembly.dir}" />
</msbuild>
</target>
它们都很类似。我调查了nant,但它看起来有点过时,所以我有些犹豫使用它,尽管我们的构建中有多个目标,这可能非常方便。
如果你能提供任何帮助来提高这些构建的性能,将不胜感激!
谢谢 :)